GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2021 set1

GATE 2021 set1 · CS · MCQ · 1 mark · Algorithms › Searching and Sorting

GATE 2021 set1 Computer Science and Information Technology question: Let P be an array containing n integers. Let t be the lowest upper bound on the number…

Let P be an array containing integers. Let be the lowest upper bound on the number of comparisons of the array elements, required to find the minimum and maximum values in an arbitrary array of elements. Which one of the following choices is correct?

  1. (A)

  2. (B)

    and

  3. (C)

    and

  4. (D)

    and

Show answer

Official answer: C

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion