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 32d80da commit ccaf0e0Copy full SHA for ccaf0e0
valid-anagram/jeongyunjae.py
@@ -0,0 +1,6 @@
1
+class Solution:
2
+ def isAnagram(self, s: str, t: str) -> bool:
3
+ sort_s = ''.join(sorted(s))
4
+ sort_t = ''.join(sorted(t))
5
+
6
+ return sort_s == sort_t
0 commit comments