Question 4992 – Algorithms
November 26, 2023Question 5351 – Algorithms
November 26, 2023Question 5026 – Algorithms
Suppose that the splits at every level of Quicksort are in proportion 1-β to β, where 0 < β ≤ 0.5 is a constant. The number of elements in an array is n. The maximum depth is approximately
Correct Answer: D
0.5 β Ig n
0.5 (1 – β) Ig n
– (Ig n)/(Ig β)
– (Ig n)/Ig (1 – β)
Subscribe
Login
0 Comments