Skip to content

Commit 90b4255

Browse files
author
Ikboljon Abdurasulov
committed
links, comments added
1 parent 4c8b3a0 commit 90b4255

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Python/20days_marathon/8_day/groupAnagrams.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# LINK: https://leetcode.com/problems/group-anagrams/
2+
# COMPLEXITY: The time complexity is O(N * K * log K), and the space complexity is O(N * K), where N is the number of strings in the input list strs, and K is the maximum length of a string in strs.
13
import collections
24
class Solution:
35
def groupAnagrams(self, strs):

0 commit comments

Comments
 (0)