• Tutorials
  • Courses
  • Tracks

Q9.

Last Updated :
Discuss
Comments

What will be the content of the max heap after inserting 40 in the heap [50, 30, 20, 15, 10] ?

[50, 40, 20, 30, 10, 15]

[50, 40, 20, 15, 10, 30]

[40, 50, 20, 15, 10, 30]

[50, 30, 40, 15, 10, 20]

Share your thoughts in the comments