info@avatto.com
+91-9920808017
0. An array of n numbers is given, where n is an even number. The maximum as well as the minimum of these n numbers needs to be determined. Which of the following is true about the number of comparisons needed?
At least 2n – c comparisons, for some constant c, are needed.
At most 1.5n – 2 comparisons are needed.
At least n log2n comparisons are needed
None of the above
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.