Skip to content

Commit 5655b10

Browse files
committed
valid anagram solution
1 parent 9475b05 commit 5655b10

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

valid-anagram/yayyz.py

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

0 commit comments

Comments
 (0)