摘要: 方法1: 声明新的类 + hashmap + priority queue 阅读全文
posted @ 2018-03-04 08:04 mayinmiao 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 思路: 跟找第kth小的数相反,数组逆向排序。从前找第k - 1个数。 阅读全文
posted @ 2018-03-04 07:26 mayinmiao 阅读(79) 评论(0) 推荐(0) 编辑