Python one-liner with Counter
class Solution:\n\n    def isAnagram(self, s, t):\n        return collections.Counter(s) == collections.Counter(t)
    class Solution:\n\n    def isAnagram(self, s, t):\n        return collections.Counter(s) == collections.Counter(t)
[]