Which type of data structure is a ternary heap?

Category: QuestionsWhich type of data structure is a ternary heap?
Editor">Editor Staff asked 5 months 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 5 months 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.


Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17
Articles: 40702