记录 import java.util.*; public class Solution { Random random = new Random(); public int findKth(int[] a, int n, int K) { // write code here int l = 0; int r = n - 1; int target = n - K; while (true){ int index = partition(a, l, r); if (index == target){ return a[index]; } else if (index < target)...