quicksort implemented by python
时间:2007-09-24 来源:linuxGentoo
>>> def partition(A,p,r): |
def quicksort(A,p,r): |
x = [1,4,8,2] |
def randompartition(A,p,r): |