TLE problem. Thanks

```
class Solution(object):
def findAnagrams(self, s, p):
"""
:type s: str
:type p: str
:rtype: List[int]
"""
res = []
lens = len(s)
lenp = len(p)
setp = set(p)
for i in range(lens - lenp + 1):
temp = set(s[i:i + lenp])
if temp == setp:
res.append(i)
return res
```