Computer Sciences > GATE 2014 SET-1 > Analysis of Algorithms
The minimum number of comparisons required to find the minimum and the maximum of 100 numbers is _______.

Correct : 147.1 to 148.1

Similar Questions

Consider the following recurrence relation.T(n) = T(n/2) + T(2n/5) + 7n if n > 0T(n) = 1 if n = 0Which one of the following options is correct?
#1030 MCQ
Consider the following C function. Which one of the following most closely approximates the return value of the function fun1?
#1152 MCQ
Consider the following pseudocode. What is the total number of multiplications to be performed? D = 2 for i = 1 to n do     for j = i to n...
#1213 MCQ

Related Topics

minimum maximum comparisons find min max algorithm GATE CS 2014 Q43 computer sciences GATE algorithm analysis data structures and algorithms min max of 100 numbers comparison count min max

Unique Visitor Count

Total Unique Visitors

Loading......