info@avatto.com
+91-9920808017
0. Quicksort is run on two inputs shown below to sort in ascending order (i) 1, 2, 3 ............. n (ii) n, n–1,n–2, ..., 2, 1 Let C1 and C2 be the number of comparisons made for the inputs (i) and (ii) respectively. Then,
C1 < C2
C1 > C2
C1 = C2
we cannot say anything for arbitrary n
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.