Chitika

Friday, 3 January 2014

Ques 34-III-D-13

34. _____________ comparisons are necessary in the worst case to
find both the maximum and minimum of n numbers.
(A) 2n-2
(B)  n + floor(lg n) - 2
(C)  floor(3n/2) - 2
(D)2 lg n – 2

ANS-(C)

Description is coming tomorrow---

No comments:

Post a Comment