Skip to content

Commit 2bfced8

Browse files
committed
valid anagram
1 parent 8702661 commit 2bfced8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

valid-anagram/do-heewan.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
class Solution:
2+
def isAnagram(self, s: str, t: str) -> bool:
3+
return sorted(s) == sorted(t)
4+

0 commit comments

Comments
 (0)