Question: Can someone explain how does 1 0 0 end up all the way to the top for number 1 2 ? That's the given answer

Can someone explain how does 100 end up all the way to the top for number 12? That's the given answer but i don't understand how 100 ends up there after bubbling up. This array represents a heap: 90,80,70,60,50,40(5 points)
Draw the complete binary tree representation of this heap.
Insert the value 100 into the heap above and draw the binary tree
representation of the result. (5 points)
 Can someone explain how does 100 end up all the way

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!