최근 포스트

[LeetCode] 859. Buddy Strings

최대 1 분 소요

Python class Solution: def buddyStrings(self, s: str, goal: str) -> bool: count = 0 if len(s) != len(goal) or sorted(s) != sorted(goal...