Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2019
Questions

Q20

NAT1 markAlgorithmsProbability

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

Sign in to save attempts.

Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.