[LeetCode] 30. Substring with Concatenation of All Words
串联所有单词的子串。题意是给定一个字符串s和一些长度相同的单词words。找出s中恰好可以由words中所有单词串联形成的子串的起始位置。注意子串要与words中的单词完全匹配,中间不能有其他字符,但不需要考虑words中单词串联的顺序。例子,Example1:Input:s="barfoothefoobarman",words=["foo","bar"]Output:[0,9]Explanati