info@avatto.com
+91-9920808017
0. Let P be a quicksort program to sort numbers in ascending order using the first element as the pivot. Let t1 and t2 be the number of comparisons made by Pfor the inputs [1 2 3 4 5] and [4 1 5 3 2] respectively. Which one of the following holds?
t1 = 5
t1 < t2
t1 > t2
t1 = t2
Your email address will not be published. Required fields are marked *
Report
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
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