Practice
Learn
← Quit
0 / 0 correct
Algorithms
Hard
1 of 429
How many comparisons does it take to find both the min and max of n elements optimally?
A
2n − 2
B
n log n
C
About 3n/2 by comparing elements in pairs
D
n