Question: 5 - ( Chapter 1 0 , Question 1 2 ) Consider the following array: 4 7 , 7 8 , 8 1 , 5

5-(Chapter 10, Question 12) Consider the following array:
47,78,81,52,50,82,58,42,65,80,92,53,63,87,95,59,34,37,7,20
a. Using the function buildHeap as given in this chapter, convert the array into a heap. Show
the final form of the array.
b. Using mergeSort, sort the array by showing the steps.
 5-(Chapter 10, Question 12) Consider the following array: 47,78,81,52,50,82,58,42,65,80,92,53,63,87,95,59,34,37,7,20 a. Using

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!