1.

What will be the position of 5, when a max heap is constructed on the input elements 5, 70, 45, 7, 12, 15, 13, 65, 30, 25?

A. 5 will be at root
B. 5 will be at last level
C. 5 will be at second level
D. 5 can be anywhere in heap
Answer» C. 5 will be at second level


Discussion

No Comment Found