GATE Computer Science (CS) 2019 Solved Papers
© examsiri.com
Question : 50 of 65
Marks:
+1,
-0
Consider the following statements:
I. The smallest element in a max-heap is always at a leaf node
II. The second largest element in a maxheap is always a child of the root node
III. A max-heap can be constructed from a binary search tree in time
IV. A binary search tree can be constructed from a max-heap in time
Which of the above statements are TRUE?
I. The smallest element in a max-heap is always at a leaf node
II. The second largest element in a maxheap is always a child of the root node
III. A max-heap can be constructed from a binary search tree in time
IV. A binary search tree can be constructed from a max-heap in time
Which of the above statements are TRUE?
Go to Question: