Skip to content

Commit 24a4c2f

Browse files
authored
Update Group Anagrams - Leetcode 49.py
1 parent 1b01c93 commit 24a4c2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Group Anagrams - Leetcode 49.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ def groupAnagrams(self, strs: List[str]) -> List[List[str]]:
1111

1212
return anagrams_dict.values()
1313

14-
# Time: 0(nm) Space: (n* m)
14+
# Time Complexity: O(n * m)
15+
# Space Complexity: O(n * m)

0 commit comments

Comments
 (0)