Which type of data structure is a ternary heap?

Category: QuestionsWhich type of data structure is a ternary heap?
Editor">Editor Staff asked 1 month ago

Which type of data structure is a ternary heap?
 
(a) Array
 
(b) Hash
 
(c) Priority Queue
 
(d) Priority Stack
 
The above asked question is from Ternary Heap in chapter Heap of Data Structures & Algorithms I
 
I had been asked this question during an interview for a job.

1 Answers
Editor">Editor Staff answered 1 month ago

The correct option is (c) Priority Queue
 
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. It is a priority queue type of data structure that follows all the property of heap.