LC 0242 [E] Valid Anagram - codewithsenpai/algos GitHub Wiki

class Solution:
    def isAnagram(self, s: str, t: str) -> bool:
        return Counter(s) == Counter(t)