Computer Science, asked by tavneet1939, 1 year ago

What is a priority queue data structure in every element has priority associatted with it.What is the minimum number of queues related to build priority queue?

Answers

Answered by ssvijay738
1

A priority queue can be implemented using many of the data structures that we've already studied (an array, a linked list, or a binary search tree). However, those data structures do not provide the most efficient operations. To make all of the operations very efficient, we'll use a new data structure called a heap.

plz Follow Me ❤

Similar questions