Question: A (min-type) binary heap was constructed out of the elements of the array TAB [11,5,18,10,9,8,0,14] Mark the true statements: the binary heap created from TAB
A (min-type) binary heap was constructed out of the elements of the array TAB [11,5,18,10,9,8,0,14] Mark the true statements:
the binary heap created from TAB with the fast "construct()" operation will be represented by the array [0,5,8,10,9,11,18,14]
After inserting (with insert()) all the elements to the (initially empty) binary heap the array representing the heap is [0,9,5,11,10,18,8,14]
After delMin() on the heap created by insert() operations the array representing it will be [5,9,8,10,11,14,18]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
