Which of the following methods is the most effective for picking the pivot element?
|Answer» C. median-of-three partitioning|
|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.|
Login to Continue
It will take less than 2 minutes