Problem
Given two stringss and p, return an array of all the start indices of p’s anagrams in s. You may return the answer in any order.
An anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters exactly once.
Examples
Constraints
- 1 <= s.length, p.length <= 3 * 10^4
- s and p consist of lowercase English letters.