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