Question: [5pts] Build a heap from the following array. Show the heap after Heapify occurred at each node. A = [3,5,1, 6, 2,0,8,11,9) [5pts] Perform 2
![[5pts] Build a heap from the following array. Show the heap](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f306c4a1b7b_01266f306c430d3b.jpg)
[5pts] Build a heap from the following array. Show the heap after Heapify occurred at each node. A = [3,5,1, 6, 2,0,8,11,9) [5pts] Perform 2 rounds of sorting (i.e., sort two largest numbers) using HeapSort procedure. Show the heap and array after every round
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
