InterviewSolution
Saved Bookmarks
| 1. |
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) 3Query is from Heap in section Heap of Data Structures & Algorithms IThis question was addressed to me in examination. |
|
Answer» The correct choice is (a) 2 |
|