Question: Q . 3 . b . ( 1 5 pts ) Using the heap that has been constructed in Q . 3 . a ,
Qb pts Using the heap that has been constructed in Qa you are expected to make a heapsort on it This heapsort is to be shown as in the way done in the class. In other words, you will start with your Qa array, let name it as
heap.Ar then you are expected to continue heap sort from the beginning up to the end. Pay attention to the indices of the array.
The table below is a sample, if you want, it can be extended as needed, or you may not use all the rows given. In other words, you can add or delete rows if needed.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
