We need to implement following tasks.
1. You need to implement heapsort algorithm.
2. You need to implement Heap Data Structure with the following functions.
a. BuildMinHeap(Given an array it must build a heap out of it)
b. RemoveMin
c. Insert (inserts a value so that the resulting array is still a heap)
NOTE: THE CODE SHOULD BE IN C LANGUAGE.