摘要: 题目链接:https://leetcode.com/problems/kth-largest-element-in-an-array/?tab=Description 题目大意:给定一个未排序的数组,找出数组中第k大的数。举个例子数组nums为[3,2,1,5,6,4],k=2,则返回5. 思路:( 阅读全文
posted @ 2017-02-27 15:46 小谷子的博客园 阅读(138) 评论(0) 推荐(0) 编辑