首页 > TAG信息列表 > shash

LeetCode 438 Find All Anagrams in a String 滑动窗口

Given two strings s 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 al