The Wayback Machine - https://web.archive.org/web/20260112205742/https://www.geeksforgeeks.org/questions/the-elements-32-15-20-30-12-25-16/

Data Structures | Heap | Question 10

Last Updated :
Discuss
Comments

The elements 32, 15, 20, 30, 12, 25, 16 are inserted one by one in the given order into a Max Heap. The resultant Max Heap is. 

tree


a

b

c

d

Share your thoughts in the comments