diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-08-26 02:27:15 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-08-26 02:27:15 +0900 |
| commit | 882c33223fab4b04695fcdaae958935fa62505c3 (patch) | |
| tree | 000bbba8550ab8ffb9af1771210f1496630e1a94 | |
| parent | 1215bb5e073f7718539a8033514673128c654fe9 (diff) | |
Init
| -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: |
