2020年4月12日
摘要: 对于固定数量的数据,堆排序和快速排序都可以,数据流就用堆排序 //堆排序: class Solution { int findKthLargest(int k , vector<int>& nums) { priority_queue<int,vector<int>,greater<int>> p 阅读全文
posted @ 2020-04-12 13:59 景行cmy 阅读(106) 评论(0) 推荐(0)