Computer Science, asked by bharti6binita2339, 9 months ago

program to sorting of user given data using heap sort method.​

Answers

Answered by ramanjotkour1234
2

Answer:

hope it will help u

Explanation:

Build a max/min heap using Heapify() from the input data. At this point, the largest/smallest item is stored at the root of the heap. Replace it with the last item of the heap followed by reducing the size of heap by 1. Finally, heapify the root of tree

Similar questions