Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Seems to be:

1) Pick a random (dice roll) pivot

5) Move all values less than pivot before it, all greater than after it

6) Recurse to sort elements before & after pivot



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: