Examveda

Which is the worst method of choosing a pivot element?

A. first element as pivot

B. last element as pivot

C. median-of-three partitioning

D. random element as pivot

Answer: Option A


This Question Belongs to Data Structure >> Sorting Algorithms

Join The Discussion

Related Questions on Sorting Algorithms