Question: For the given complete binary tree (given in an array): 1 2 3 4 5 6 7 8 9 10 11 J B K A
For the given complete binary tree (given in an array):
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
|---|---|---|---|---|---|---|---|---|---|---|
| J | B | K | A | O | T | U | X | R | Q | D |
Convert it into a max heap and provide your answer by dragging and dropping the given alphabets on correct positions in array.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
