摘要: public class Solution { public List topKFrequent(int[] nums, int k) { //1. 遍历独立的元素并计数 Map map = new HashMap(); for(int i = 0; i > queue = new PriorityQueue>( ... 阅读全文
posted @ 2019-03-13 15:03 notesbuddy 阅读(130) 评论(0) 推荐(0) 编辑