Skip to content

Commit aa923e8

Browse files
authored
Update Valid Anagram - Leetcode 242.py
1 parent 7936563 commit aa923e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Valid Anagram - Leetcode 242/Valid Anagram - Leetcode 242.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ def isAnagram(self, s: str, t: str) -> bool:
99

1010
return s_dict == t_dict
1111

12-
# Time complexity: O(n)
13-
# Space complexity: O(n)
12+
# Time complexity: O(S + T)
13+
# Space complexity: O(S + T)

0 commit comments

Comments
 (0)