Skip to content

Commit 88ba4c1

Browse files
committed
feat: Add type hints to groupAnagrams method
1 parent 7262bb7 commit 88ba4c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

group-anagrams/river20s.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from typing import List
33

44
class Solution(object):
5-
def groupAnagrams(self, strs):
5+
def groupAnagrams(self, strs: List[str]) -> List[List[str]]:
66
"""
77
:type strs: List[str]
88
:rtype: List[List[str]]

0 commit comments

Comments
 (0)