Tree Data Structures questions

Q40

GATE CS 2019 CSTree Data StructuresMCQ2 marks−2/3 if wrong
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 max-heap is always a child of the root node
III. A max-heap can be constructed from a binary search tree in Θ(n)\Theta(n) time
IV. A binary search tree can be constructed from a max-heap in Θ(n)\Theta(n) time

Which of the above statements are TRUE?
Show answer without attempting

Answer: A

0/10 correct0 marks

Related topics in Programming and Data Structures