Find out the array representation if given max heap if value 20 is deleted from it. 22,21,20,19
Answers
Given : max heap
22,21,20,19
To Find : array representation if value 20 is deleted
Solution:
22,21,20,19
max heap
22
21 20
19
value 20 is deleted , replace it with last element 19
22
21 19
Satisfy all conditions of max heap
Hence
22
21 19
is the array representation if value 20 is deleted from 22,21,20,19
Learn More:
find out the array representation of the given max heap if the root node is deleted from it. 29,25,21,17
https://brainly.in/question/46657003
Find out the array representation if given max heap if value 20 is deleted from it. 22,21,20,19
https://brainly.in/question/45569847