MCQ · 2 marks · Tree Data Structures

GATE CS 2015 CS-1 — Q37

Consider a max heap, represented by the array: 40, 30, 20, 10, 15, 16, 17, 8, 4.
Array Index123456789
Value4030201015161784
Now consider that a value 35 is inserted into this heap. After insertion, the new heap is
Select one option