Skip to content

Commit ee81091

Browse files
committed
Time: 26 ms (6.08%), Space: 20.5 MB (10.29%) - LeetHub
1 parent bec1ac9 commit ee81091

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
class Solution:
2+
def isAnagram(self, s: str, t: str) -> bool:
3+
sort_s = sorted(s.lower())
4+
sort_t = sorted(t.lower())
5+
6+
print(sort_s)
7+
print(sort_t)
8+
9+
return sort_s == sort_t
10+

0 commit comments

Comments
 (0)