GATE CS 2025 · Set-2 · Arrays & Matrix Representation

MCQ · 1 mark · Problem PROG-DSTR-0085

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?
  1. A
    1
  2. B
    \(N - 1\)
  3. C
    \(N\)
  4. D
    \(2N - 1\)

Solve it on GATE DA practice →More Basic Data Structures problems

Show the worked solutionOfficial GATE Answer Key: Option A.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/460825/gate-cse-2025-set-2-question-10

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com