438. Find All Anagrams in a String

438. Find All Anagrams in a String

class Solution:
    def findAnagrams(self, s: str, p: str) -> List[int]:
        if len(s)

注意用+还是-

你可能感兴趣的:(leetcode)