In this question, you will construct the max heap that resul…
In this question, you will construct the max heap that results from using BUILD-MAX-HEAP to create a heap from the following array: . Steps 1-4 were performed above. Now perform step 5: Step 5. Fill in the tree which results after the fourth exchange is performed. The tree is the finished max heap in the pointer representation. [E12] / \ [E10] [E11] / \ / \ [E7] [E8] [E5] [E9] / \ / \ [E6] [E2] [E4] [E3]
Read Details