Skip to content

Commit 6762aa0

Browse files
committed
Group Anagrams
Time Complexity re-calculation
1 parent 2e85a37 commit 6762aa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

group-anagrams/TonyKim9401.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// TC: O(n)
1+
// TC: O(n * m log m)
22
// SC: O(n * m)
33
class Solution {
44
public List<List<String>> groupAnagrams(String[] strs) {

0 commit comments

Comments
 (0)