GATEverse
← GATE CSE 2014 Set 2

Q12

MCQ1 mark, −0.33

A priority queue is implemented as a Max-Heap. Initially, it has 55 elements. The level-order traversal of the heap is: 10,8,5,3,210, 8, 5, 3, 2. Two new elements 11 and 77 are inserted into the heap in that order. The level-order traversal of the heap after the insertion of the elements is:

Sign in to save attempts.

Loading…