Which operation is done when 28 is inserted? 80 becomes the child for 28, percolate down 28 is replaced with 12, percolate up 16 becomes the parent for 28, percolate up 48 becomes the child for 28,...


Construct a minheap with the following numbers and answer Question according to the minheap.
30, 80, 12, 28, 42, 78, 17, 71, 32, 48, 16, 59, 63, 14, 79


Which operation is done when 28 is inserted?<br>80 becomes the child for 28, percolate down<br>28 is replaced with 12, percolate up<br>16 becomes the parent for 28, percolate up<br>48 becomes the child for 28, percolate down<br>

Extracted text: Which operation is done when 28 is inserted? 80 becomes the child for 28, percolate down 28 is replaced with 12, percolate up 16 becomes the parent for 28, percolate up 48 becomes the child for 28, percolate down

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here