There was an error while loading. Please reload this page.
2 parents babc379 + 10b4b16 commit 6d926aaCopy full SHA for 6d926aa
LeetCode/0242_Valid_anagrams.py
@@ -0,0 +1,4 @@
1
+class Solution:
2
+ def isAnagram(self, s: str, t: str) -> bool:
3
+
4
+ return (sorted(s) == sorted(t))
0 commit comments