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 adt in data structure?
Define Data Structures?
Is unordered_map a hash table?
Advanced problems related to Data Structures were asked
Can we create a null as a key for a map collection?
What is link list in data structure?
Does linkedhashset allow null values?
Differentiate between push and pop?
What are priority queues?
Is hashset a collection?
How can you add an item to the beginning of the list?
Write a code for dynamic allocation of array.
How does hashset maintain order?
Is hashmap a collection?
What is the difference between arraylist and array?