Examveda

What will be the pivot for the array arr={8, 2, 4, 9} for making the first partition when a median of three quick sort is implemented?

A. 8

B. 2

C. 4

D. 9

Answer: Option A


This Question Belongs to Data Structure >> Sorting Algorithms

Join The Discussion

Related Questions on Sorting Algorithms