• Tutorials
  • Courses
  • Tracks

Q4.

Last Updated :
Discuss
Comments

Suppose you have a min-heap, and the value of a node is decreased, breaking the heap property. Which operation fixes the heap?

Heapify-down

Heapify-up

Build Heap again

No operation needed

Share your thoughts in the comments