Thursday, 25 April 2013

Quick Sort


Divides array into two sets. Select an element to be the pivot.
Middle element, or random (for faster results)
Pivot splits array into two.






https://www.cse.ust.hk/~dekai/271/notes/L01a/quickSort.pdf

No comments:

Post a Comment