GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2020

GATE 2020 · CS · NAT · 2 marks · Programming and Data Structures › Heaps

GATE 2020 Computer Science and Information Technology question: Consider the array representation of a binary min-heap containing 1023 elements. The…

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 _________.

Show answer

Official answer: 511

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion