+1 vote
in Data Structures & Algorithms I by (88.2k points)
Which property should ternary heap hold for execution?

(a) Associative

(b) Commutative

(c) Tree

(d) Heap

Query is from Ternary Heap topic in portion Heap of Data Structures & Algorithms I

I had been asked this question in an online interview.

1 Answer

+1 vote
by (672k points)
selected by
Best 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.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.