MCQ · 1 mark · Tree Data Structures

GATE CS 2021 CS-2 — Q2

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