Skip to content

Commit 306ac37

Browse files
committed
valid-anagram solution
1 parent 7bc0b19 commit 306ac37

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

valid-anagram/yyyyyyyyyKim.py

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

0 commit comments

Comments
 (0)