Question: Draw the resulted heap tree for the following array A after calling Build-MAX-Heap , and show your work over the tree you build. [1.5 Points]
Draw the resulted heap tree for the following array A after calling Build-MAX-Heap, and show your work over the tree you build. [1.5 Points]
|
|
|
|
|
|
|
|
|
|
| 30 | 15 | 25 | 8 | 4 | 9 | 1 | 16 | 90 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
