242. Valid Anagram
發布時間:
242. Valid Anagram 難度:eclass Solution:n def isAnagram(self, s: str, t: str) -> bool:n return collections.Coun
242. Valid Anagram
難度:e
class Solution:n def isAnagram(self, s: str, t: str) -> bool:n return collections.Counter(s) == collections.Counter(t)
class Solution:n def isAnagram(self, s: str, t: str) -> bool:n return sorted(s) == sorted(t)







