@快速排序算法(JAVA)(个人复习)

@快速排序算法(JAVA) 一趟快速排序过程 一趟快速排序代码 static int[] arr; public static int quickSort(int l , int h)//一趟快速排序 { int temp = arr[l];//每次去第一个作为支点 while(l < h) { while(l< h && arr[h] >= temp ) { h--; }
相关文章
相关标签/搜索