分而治之——找出第K大的数
问题描述:
Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.
Example 1:
Input: [3,2,1,5,6,4] and k = 2
Output...
原创
2018-09-16 14:39:19 ·
348 阅读 ·
0 评论