class Solution {
public:
vector<int> findAnagrams(string s, string p) {
unordered_map<char,int> need, window;
for(char ch : p
找到字符串中所有字母异位词
最新推荐文章于 2021-12-01 09:36:39 发布
![](https://img-home.csdnimg.cn/images/20240709112858.png)
class Solution {
public:
vector<int> findAnagrams(string s, string p) {
unordered_map<char,int> need, window;
for(char ch : p