Dashboard Temp Share Shortlinks Frames API

HTMLify

LeetCode - Valid Anagram - Python
Views: 333 | Author: abh
1
2
3
class Solution:
    def isAnagram(self, s: str, t: str) -> bool:
        return sorted(s) == sorted(t)