Open In App

GATE | GATE CS 2019 | Question 32

An array of 25 distinct element is to be sorted using quicksort. Assume that the pivot element is chosen uniformly at random The probability that pivot element gets placed in the worst possible location in the first round of partitioning (round off to 2 decimal places) is 
(A) 0.08

Answer: (A) 



Explanation: 

Quiz of this Question
Please comment below if you find anything wrong in the above post



 

Article Tags :