If we implement heap as min-heap, deleting root node (value 1)from the heap. What would be the value of root node after second iteration if leaf node (value 100) is chosen to replace the root at start.
(a) 2
(b) 100
(c) 17
(d) 3
Query is from Heap in section Heap of Data Structures & Algorithms I
This question was addressed to me in examination.