GATE CS 2022 · Question 28 · Programming and Data Structures · Numerical answer (NAT) · 1 mark · no negative marks
Suppose a binary search tree with 1000 distinct elements is also a complete binary tree. The tree is stored using the array representation of binary heap trees. Assuming that the array indices start with 0, the 3rd largest element of the tree is stored at index ______.
Answer
Answer 509
Answer from the official GATE CS 2022 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes