Log in Register Dashboard Temp Share Shortlinks Frames API

HTMLify

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

Comments