1.

The roots of the elements of the subtrees are smaller than the root of the heap.(a) True(b) FalseThis intriguing question originated from Heap in chapter Heap of Data Structures & Algorithms II have been asked this question in homework.

Answer»

Correct CHOICE is (B) False

For explanation: The heap ordering PROPERTY requires that all the root ELEMENTS of the subtrees in the list are not SMALLER than the root element of the heap.



Discussion

No Comment Found

Related InterviewSolutions