Minimum number of queues needed to implement the priority queue?
Answer Posted / 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 View All Answers
What is sorted map?
What is the use of threaded binary tree?
What are the different types of data type?
write a program to accept name & sort them?
Which is the fastest sorting?
How do you sort a map by key?
Differentiate between list and set.
Which is the parent class of deque
Can arraylist shrink?
What is the best case time complexity of bubble sort?
Which is best book for data structures?
What is Jagged Arrays?
Reverse a linked list from the middle.
Why do we need arrays if all the operations that are performed on arrays can be performed on arraylist?
Differentiate between hashset and hashmap.