Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Onavo
8 months ago
|
parent
|
context
|
favorite
| on:
Quicksort explained IKEA-style
Worst case is n^2, where the chosen element is either the largest or the smallest element. Then the result is an insertion sort across the whole list. (Not sure if the order would matters, don't remember off the top of my head).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: