1.

Should leaves in ternary heap be distributed from left to right.(a) True(b) FalseThis interesting question is from Ternary Heap topic in portion Heap of Data Structures & Algorithms IThe question was asked during an interview.

Answer»

The correct option is (a) True

Explanation: Ternary heap is a type of data structure in the field of computer science. It is a part of the Heap data structure FAMILY. So, it should hold all the properties of Heap that is all the LEVELS of the heap has to be filled from left to right.



Discussion

No Comment Found

Related InterviewSolutions