Explanation: median-of-three partitioning is the best method for choosing an appropriate pivot element. picking a first, last or random element as a pivot is not much effective.
Q. Which of the following methods is the most effective for picking the pivot element?
β
Correct Answer: (C)
median-of-three partitioning
Explanation by: Mr. Dubey
median-of-three partitioning is the best method for choosing an appropriate pivot element. picking a first, last or random element as a pivot is not much effective.
Discussion
Question Analytics
462
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
92%
Success Rate