...
Question 8471 – Algorithms
May 13, 2024
Queues-and-Stacks
May 14, 2024
Question 8471 – Algorithms
May 13, 2024
Queues-and-Stacks
May 14, 2024

Question 11786 – Queues-and-Stacks

Which one of the following is a Meldable priority queue?

Correct Answer: B

Question 7 Explanation: 
The classic way to implement a priority queue is using a data structure called a binary heap. A binary heap will allow us to enqueue or dequeue items in O ( log n ).
A
Leftist Heap
B
Binary Heap
C
AVL trees
D
Red – Black trees

Leave a Reply

Your email address will not be published. Required fields are marked *