0
2.6kviews
What is heap? Sort the following numbers using heap sort. 67, 12, 89, 26, 38, 45, 22, 79, 53
1 Answer
written 6.2 years ago by | modified 6.2 years ago by |
Step 1: Build a heap using elements of array
Step 2:Repeatedly delete the Root element of the heap created