Adobe Interview Question

One question related to maxheap