diff options
Diffstat (limited to '1_array_hashing/group_anagram.py')
| -rw-r--r-- | 1_array_hashing/group_anagram.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/1_array_hashing/group_anagram.py b/1_array_hashing/group_anagram.py index 35b09ae..b4c788f 100644 --- a/1_array_hashing/group_anagram.py +++ b/1_array_hashing/group_anagram.py @@ -38,7 +38,7 @@ from typing import List class Solution: def dictionary(self, strs: List[str]) -> List[List[str]]: - res = defaultdict(list) + res: dict = defaultdict(list) for s in strs: count = [0] * 26 for c in s: |
