题意:给定一个字符串s和一组单词,每个单词长度一致,这些单词可以组成一个字符串称为concatenated substring,找出s中所有这些字符串的开始下标。 [30. Substring with Concatenation of All Words](https://leetcode.com/problems/substring-with-concatenation-of-all ...
题意:给定一个字符串s和一组单词,每个单词长度一致,这些单词可以组成一个字符串称为concatenated substring,找出s中所有这些字符串的开始下标。 [30. Substring with Concatenation of All Words](https://leetcode.com/problems/substring-with-concatenation-of-all ...
题意:给出字符串s和正则p,s只包含小写英文字符,p只包含小写英文字符和.和。在之前必定有英文字符。 10. Regular Expression Matching 当p中没有,处理很简单,直接比较s和p就行了。当p中出现,这时有两种情况,一种是s选择不匹配, ...