Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions valid-anagram/do-heewan.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
class Solution:
def isAnagram(self, s: str, t: str) -> bool:
return sorted(s) == sorted(t)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

간단하고 직관적인 풀이로 하지만 Counter 이용에 대한 아이디어도 한 번은 생각해보시길 바랍니다 :)