
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

University of South Carolina
02/18/2009 2
02/18/2009 3
ย Select apivot (partitioning element) ย Rearrange the list so that all the elements in the positions before the pivot are smaller than or equal to the pivot and those after the pivot are larger than or equal to the pivot ย Exchange the pivot with the last element in the first (i.e., โค sublist) โ the pivot is now in its final position
ย Sort the two sublists
p
02/18/2009 4