From 882c33223fab4b04695fcdaae958935fa62505c3 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Mon, 26 Aug 2024 02:27:15 +0900 Subject: Init --- 1_array_hashing/group_anagram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3