An unordered list contains n distinct elements. The number of comparisons to find an element in this list that is neither maximum nor minimum is
- A\(\Theta (n log n)\)
- B\(\Theta (n)\)
- C\(\Theta (log n)\)
- D\(\Theta (1)\)
Solve it on GATE DA practice →More Searching & Sorting Algorithms problems