Vidyalelo
Data Structure · Q4

Heaps

Programming · Data Structure · question 4

Q4

How do you maintain the heap property after deleting the root node?

A.
By performing a heapify operation.
Answer
B.
By reordering the entire heap.
C.
By inserting a new element at the root.
D.
By performing an inorder traversal.

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board