Skip to content

Commit

Permalink
fix: $49
Browse files Browse the repository at this point in the history
  • Loading branch information
lucifer committed Oct 19, 2020
1 parent 3fc432c commit 3537ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion problems/49.group-anagrams.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class Solution:
for c in s:
s_key[ord(c)-ord('a')] += 1
str_dict[tuple(s_key)].append(s)
return str_dict.values()
return list(str_dict.values())
```

**复杂度分析**
Expand Down

0 comments on commit 3537ae3

Please sign in to comment.