summaryrefslogtreecommitdiff
path: root/1_array_hashing
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-08-26 02:27:15 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-08-26 02:27:15 +0900
commit882c33223fab4b04695fcdaae958935fa62505c3 (patch)
tree000bbba8550ab8ffb9af1771210f1496630e1a94 /1_array_hashing
parent1215bb5e073f7718539a8033514673128c654fe9 (diff)
Init
Diffstat (limited to '1_array_hashing')
-rw-r--r--1_array_hashing/group_anagram.py2
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: