Skip to content

Commit 3537ae3

Browse files
author
lucifer
committed
fix: $49
1 parent 3fc432c commit 3537ae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

problems/49.group-anagrams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class Solution:
132132
for c in s:
133133
s_key[ord(c)-ord('a')] += 1
134134
str_dict[tuple(s_key)].append(s)
135-
return str_dict.values()
135+
return list(str_dict.values())
136136
```
137137

138138
**复杂度分析**

0 commit comments

Comments
 (0)