閒來重寫一下快速排序

還是寫一下原理吧: 有圖爲證:     下圖爲原理示意圖 package Alrithm; public class Quick { public static void sort(int[] arr, int low, int high) { int min = low;// 用於動態移動角標 int max = high;// 用於動態移動角標
相關文章
相關標籤/搜索