本文原创,转载请注明地址 http://www.cnblogs.com/baokang/p/4737492.html 伪代码 quicksort(A, lo, hi) if lo < hi p = partition(A, lo, hi) quicksort(A, lo, p - 1) quicksort(A, p + 1, hi) partition(A, lo, hi) pivot = A[hi] i = lo //place for swapping for j = lo to hi -…