摘要: class Solution { public List<Integer> topKFrequent(int[] nums, int k) { //先统计每个数字出现的频率 Map<Integer,Integer> map = new HashMap<>(); for(int i = 0; i < 阅读全文
posted @ 2020-05-12 20:37 贼心~不死 阅读(128) 评论(0) 推荐(0) 编辑