An unordered list (array) contains n distinct elements. The number of comparisons to find an element in the list that is larger than the second minimum in the list is

1
Θ(n/log n)
2
Θ(n)
3
Θ(n log n)
4
Θ(1)
5
Θ(n2)

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation