Y
Hacker News
new
|
ask
|
show
|
jobs
by
rachbowyer
3945 days ago
If quicksort always takes the first element in the array as the pivot, then an array that is already sorted is the worst case.