GATE CS 2020 · Arrays & Matrix Representation

NAT · 2 marks · Problem PROG-DSTR-0107

Consider the array representation of a binary min-heap containing 1023 elements. The minimum number of comparisons required to find the maximum in the heap is .

Numerical answer (NAT).

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

Show the worked solutionOfficial GATE Answer Key: [511.0, 511.0].See full step-by-step discussion on GateOverflow: https://gateoverflow.in/333184/gate2020-cs-47

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