1.

Which property should ternary heap hold for execution?(a) Associative(b) Commutative(c) Tree(d) HeapQuery is from Ternary Heap topic in portion Heap of Data Structures & Algorithms II had been asked this question in an online interview.

Answer»

Correct answer is (d) Heap

For 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