In: Computer Science
Q1. Assume the complete binary tree numbering scheme used by Heapsort and apply the Heapsort algorithm to the following key sequence (3,25,9, 35,10,13,1,7). The first element index is equal 1.
Answer :
A) the value in location 5 for initial heap is 10
Explanation :
B) after a single deletion the value at location 5 is 10.
Explaination:
NOTE : PLEASE GIVE ME UP VOTE. IT'S VERY IMPORTANT FOR ME. THANK YOU.