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 |
Is arraylist a list?
Give one example of right rotation.
In an avl tree, at explain what condition the balancing is to be done?
What is dynamic data structure?
Which is better stack or queue?
Why is it important to sort waste?
Differentiate between arraylist and vector.
Which sort show the best average behavior?
How to find the duplicate in an array?
Does hashmap maintain insertion order?
Does treemap allow null key?
What is unhashable type list?