Https://online.codingblocks.com/player/16664/content/5368

https://online.codingblocks.com/player/16664/content/5368
I am not able to proceed further please help any approach i am not able to procced that how to deal with query 2 as for printing in heap we have to delete but i dont want to delete it

Mention screenshot of question or name of question.