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 903bc2e commit 1a843e3Copy full SHA for 1a843e3
top-k-frequent-elements/yayyz.py
@@ -17,5 +17,4 @@ def topKFrequent(self, nums: List[int], k: int) -> List[int]:
17
# else:
18
# freq_dict[num] = 1
19
# sorted_list = sorted(freq_dict.keys(), key = lambda x: freq_dict[x], reverse=True)
20
-# return sorted_list[:k]
21
-
+# return sorted_list[:k]
0 commit comments