Skip to content

Commit 58cedd8

Browse files
authored
Update Group Anagrams - Leetcode 49.py
1 parent 9c039e2 commit 58cedd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Group Anagrams - Leetcode 49.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ def groupAnagrams(self, strs: List[str]) -> List[List[str]]:
1010
anagrams_dict[key].append(s)
1111

1212
return anagrams_dict.values()
13-
13+
# n is the number of strings, m is the length of largest string
1414
# Time Complexity: O(n * m)
1515
# Space Complexity: O(n * m)

0 commit comments

Comments
 (0)