We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 659effe commit 89a29adCopy full SHA for 89a29ad
valid-anagram/devyejin.py
@@ -0,0 +1,7 @@
1
+from collections import Counter
2
+class Solution(object):
3
+ def isAnagram(self, s, t):
4
+ return Counter(s) == Counter(t)
5
+
6
7
0 commit comments