UGC-NET Oct 2020 · Arrays & Matrix Representation

MCQ · 2 marks · Problem PROG-DSTR-0023

In a binary max heap containing $n$ numbers, the smallest element can be found in
  1. A
    $O(n)$
  2. B
    $O(\log _2 n)$
  3. C
    $O(1)$
  4. D
    $O(\log_2 \log_2 n)$

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/889/gate2006-10

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