GATE CS 2025, set 2 · Question 20 · Algorithms · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
Consider an unordered list of N distinct integers.
What is the minimum number of element comparisons required to find an integer in the list that is NOT the largest in the list?
- (A) 1
- (B) N-1
- (C) N
- (D) 2N-1
Answer
Answer (A)
Answer from the official GATE CS 2025 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes