GATE Assistant

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

GATE 2021 set2 · CS · MCQ · 1 mark · Programming and Data Structures › Heaps

GATE 2021 set2 Computer Science and Information Technology question: Let H be a binary min-heap consisting of n elements implemented as an array. What is the…

Let be a binary min-heap consisting of elements implemented as an array. What is the worst case time complexity of an optimal algorithm to find the maximum element in ?

  1. (A)

  2. (B)

  3. (C)

  4. (D)

Show answer

Official answer: C

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion