Suppose that the splits at every level of quick sort are in the proportion 1 - to

Question:

Suppose that the splits at every level of quick sort are in the proportion 1 - α to α, where 0 < α ≤ 1/2 is a constant. Show that the minimum depth of a leaf in the recursion tree is approximately - lg n/ lg α and the maximum depth is approximately -lg n/ lg(1 - α). (Don't worry about integer round-off.)
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Macroeconomics

ISBN: 978-0138014919

12th edition

Authors: Robert J Gordon

Question Posted: