Given *s* and pattern *p*, find all start indices of *p*’s anagrams in *s*. Return list of indices.
Two lines: s, then p.
List of indices.
Example 1:
Input:
s = "cbaebabacd" p = "abc"
Output:
[0,6]
Explanation:
"abc" at 0-2, "bac" at 6-8.