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 84c6eef commit 20196cdCopy full SHA for 20196cd
valid-anagram/JiHyeonSu.py
@@ -0,0 +1,7 @@
1
+# 재배치하여 다른 문자를 만들 수 있는지 여부
2
+# 시간복잡도 / 공간복잡도 O(n)
3
+
4
+class Solution:
5
+ def isAnagram(self, s: str, t: str) -> bool:
6
+ return Counter(s) == Counter(t)
7
0 commit comments