Concept Flow - Heap Insert Operation Bubble Up
Insert new element at end of array
Compare with parent node
Swap with parent
Move pointer to parent
↩Back to compare
Insert the new element at the end, then repeatedly swap it with its parent if smaller, moving up until heap property is restored.