Quicksort(A,p,r) 1 if p < r 2 then q = Partition(A,p,r) 3 Quicksort(A,p,q) 4 Quicksort(A,q+1,r)
Initial Call: Quicksort(A,1,length(A))