快速排序

 private void QuickSort(int[] arr,int low,int high){
        //递归出口
        if(low>high) return;
        //tempt基准
        int tempt = arr[low];
        int i,j,t;
        i = low;
        j = high;

        while (i < j){
            while (i=tempt) j--;
            while (i

你可能感兴趣的:(快速排序)