Minimum number of queues needed to implement the priority queue?



Minimum number of queues needed to implement the priority queue?..

Answer / rohit sah

Two. One queue is used for actual storing of data and another for storing priorities.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What are the Differences between map and hashmap?

0 Answers  


How can I learn data structures?

0 Answers  


How do you assign an address to an element of a pointer array ?

0 Answers  


Differentiate bfs and dfs?

0 Answers  


What are different types of algorithms?

0 Answers  


What are the advantages and disadvantages of copyonwritearraylist?

0 Answers  


applications of linked lists and mostly used linked list?

3 Answers  


What is an acyclic graph?

0 Answers  


How remove all from arraylist?

0 Answers  


How do you represent a linked list?

0 Answers  


How many types of linked list exist?

0 Answers  


Is binary tree balanced?

0 Answers  


Categories