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 7b84ef6 commit f3ee7fdCopy full SHA for f3ee7fd
data_structure/stack_queue.md
@@ -333,7 +333,7 @@ class Solution:
333
```
334
335
### [top-k-frequent-elements](https://leetcode.cn/problems/top-k-frequent-elements/)
336
-> 给你一个整数数组 nums 和一个整数 k ,请你返回其中出现频率前 k 高的元素。你可以按 任意顺序 返回答案。
+> 给你一个整数数组 nums 和一个整数 k ,请你返回其中出现频率前 k 高的元素。你可以按 **任意顺序** 返回答案。
337
338
思路:top-k经典题目,利用最小堆或者最大堆, python里面只有最小堆
339
0 commit comments