Question: If I use binary heap and add the following 5, 7, 9, 1, 3, 10, 8, 4. what happens if we keep removing the

If I use binary heap and add the following 5, 7, 9, 1, 3, 10, 8, 4. what happens if we keep removing the root and printing it, and let the tree heapfiy itself, what would be the result (I print the whole heap)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
