Question: Suppose there is a binary min-heap with exactly 4 nodes, containing items with priorities 3,9, 11, and 15. a) Show every possible binary min-heap that

Suppose there is a binary min-heap with exactly 4 nodes, containing items with priorities 3,9, 11, and 15. a) Show every possible binary min-heap that could match this description. For each, draw the appropriate tree and the array representation. (You can show just the priorities, not the corresponding items.) b) For one of your answers to part (a), show what happens with 4 deleteMin operations. Clearly indicate which heap you are starting with and show the heap after each deleteMin. You can just draw the tree (not the array) after each step
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
