class Solution { public: int findKth(vector<int> a, int n, int K) { --K; nth_element(a.begin(), a.begin()+K, a.end(),gr...