Page 1 of 1

Which is the worst method of choosing a pivot element?

Posted: Wed Jul 13, 2022 6:15 pm
by answerhappygod
a) first element as pivot
b) last element as pivot
c) median-of-three partitioning
d) random element as pivot