- #1
- 142
- 1
Homework Statement
Does the following array represents the binary max heap
99,98,97,55,49,49,48,13,54
99,98,97,55,54,49,49,48,13
Homework Equations
The Attempt at a Solution
I've tried to construct the tree structure and all the above array representation satisfies the binary max heap property. But ans is given as no (i.e non of them represents the binary max heap)