Question: 4. Given the following data: 76, 50, 40, 45, 10, 30, 39, 42 a) Draw a Heap and check if this Is Max Heap or

4. Given the following data:

 76,

 50,

 40,

 45,

 10,

 30,

 39,

 42 

a) Draw a Heap and check if this Is Max Heap or Min Heap? (5 pts) b) Now illustrate by using array notation (use the table given below) (Must use the table, and not tree) to add V = 69 into this array, and still maintain the property of the data structure. (10 pts) I Algorithm Explanation A[i] 

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 Algorithms Questions!