COS 212 Stuff
Use at own risk
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment