2 ms·
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.
by iclelland 17y 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.