Q166
The total comparisons in finding both smallest and largest elements are
A.
2*n +2
B.
n + ((n+1)/2) -2
AnswerC.
n+logn
D.
n2
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board