快速排序 public class QuickSort { public static void main(String[] args) { int[] a = { 0, 3, 6, 8, 2, 4, 6, 9, 7, 5 }; new QuickSort().sort(a, 0, a.length-1); System.out.println(Arrays.toString(a)); } public void sort(int[] a, int low, int high) { if (lo…