快排-Java

package 宝典;

/**
 * @ author:mian
 * @ DATA:2018/5/8 11:21
 */
public class 快排 {
    public static void sort(int arr[],int low,int high){
        int i,j;
        int index;
        if(low>high){
            return;
        }
        i=low;
        j=high;
        index = arr[i];
        while(i=index){
                j--;
            }
            if(i

你可能感兴趣的:(快排-Java)