GATEverse Practice, past papers & mock tests
GATE 2026 · CS1 - Forenoon
Programming & Data StructuresTreesmediumMSQ1 mark
Let n be an odd number greater than 100. Consider a binary minheap with n elements stored in an array P whose index starts from 1. Which of the following indices of P do/does NOT correspond to any leaf node of the minheap?

Select every correct option.

Save your progress

Related Programming & Data Structures PYQs