Y
Hacker News
new
|
ask
|
show
|
jobs
by
iclelland
6122 days ago
Having N > 1 requires you to do a sort on the pivots. From the algorithm:
3. P1 must be less than P2, otherwise they are swapped.