Published:
Updated:

  • λ„ˆλ¬΄ λ‹¨μˆœν•΄μ„œ 였히렀 μ• λ„ˆκ·Έλž¨μ΄λΌλŠ” μ •μ˜κ°€ 더 μ–΄λ €μš΄ 문제


Solution

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


Reference

Leave a comment