Question: Consider the list C,K,E,N,B,A,H. a. Describe the heapify algorithm and apply it to your list to build a Minimum Heap. Show the list (in array

Consider the list C,K,E,N,B,A,H. a. Describe the heapify algorithm and apply it to your list to build a Minimum Heap. Show the list (in array form) after applying the heapify algorithm. b. What is the index of node C in the heap? Calculate the index of the left child and the right child of node C in the heap. c. Describe the algorithm for removing element from the heap. Show the heap after this removal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
