Math, asked by khush2996, 1 year ago

Suppose we insert 97 into the max heap [98,67,89,38,42,54,89,17,25]. what is the resulting heap?

Answers

Answered by Anonymous
0
✳hy✴
✴here is your answer✴

98
/ \
/ \
67 89
/ \ / \
38 42 54 89
/ \
17 25



i want to insert 97 into max heap [98,67,89,38,42,54,89,17,25] (represented in list).

As per me, resulting heap is [98,97,89,38,67,54,89,17,25,42]

Similar questions