We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a395e9 commit 86658cbCopy full SHA for 86658cb
top-k-frequent-elements/dusunax.py
@@ -30,4 +30,5 @@ def topKFrequent(self, nums: List[int], k: int) -> List[int]:
30
for e in sorted_frequencies: # TC: O(k)
31
result.append(e[0])
32
33
- return result[0:k]
+ return result[0:k]
34
+
0 commit comments