做法:排序 时间复杂度: 思路: 这题所要求输入n个整数,找出其中第k大的数. 代码: class Finder { public: int findKth(vector<int> a, int n, int K) { // write code here sort(a.rbegin(), a.rend()); return a[K-1]; } };