GATE CS 2020 · Question 57 · Programming and Data Structures · Numerical answer (NAT) · 2 marks · no negative marks
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 ______.
Answer
Answer 511
Answer from the official GATE CS 2020 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes