Question: Suppose that the splits at every level of quick sort are in the proportion 1 - to , where 0 < 1/2 is a constant.
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.)
Step by Step Solution
3.50 Rating (170 Votes )
There are 3 Steps involved in it
The minimum depth follows a path that always takes the smaller part of th... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
C-S-A (33).docx
120 KBs Word File
