info@avatto.com
+91-9920808017
0. Let pij, where j>i, denote the probability that the ith smallest and jth smallest elements in the input list are compared in an execution of Rand QS. Which of the following statements are true?
The probability pij depends on the ordering of the input list.
pij = 2/(j − i + 1)
pij = 2/(j − i)
Σij pij ≤ 2nHn where Hn is the nth Harmonic number.
You must be logged in to post a comment.
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login
You must be logged in to post a comment.