Skip to content

Commit 8b22e3f

Browse files
committed
comment changed
1 parent eb1c165 commit 8b22e3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

top-k-frequent-elements/sun912.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
TC : O(klogn)
3-
4-
used max heap
2+
TC : O(n)
3+
SC: O(n)
4+
used bucket sort
55
index -> count number
66
list value -> frequent nums
77
"""

0 commit comments

Comments
 (0)