Vidyalelo
Data Structure · Q215

Sorting Algorithms

Programming · Data Structure · question 215

Q215

Which is the worst method of choosing a pivot element?

A.
first element as pivot
Answer
B.
last element as pivot
C.
median-of-three partitioning
D.
random element as pivot

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board