Advertisement
Guest User

sfsf

a guest
Oct 31st, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. Let 0<α<.5 be some constant (independent of the input array length n). Recall the Partition subroutine employed by the QuickSort algorithm, as explained in lecture. What is the probability that, with a randomly chosen pivot element, the Partition subroutine produces a split in which the size of the smaller of the two subarrays is ≥α times the size of the original array?
  2.  
  3. 1−α
  4. α
  5. 2−2∗α
  6. 1−2∗α
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement