The second largest number from a set of n distinct numbers can be found in
A. O(n)
B. O(2n)
C. O(n2)
D. O(log n)
Answer:A
The second largest number from a set of n distinct numbers can be found in
A. O(n) B. O(2n) C. O(n2) D. O(log n)