The total comparisons in finding both smallest and largest elements are

The total comparisons in finding both smallest and largest elements are
A. 2*n +2
B. n + ((n+1)/2) -2
C. n+logn
D. n$^{2}$
 

Tìm kiếm

Back
Top