Data Structures Question:
Minimum number of queues needed to implement the priority queue?
Answer:
Two. One queue is used for actual storing of data and another for storing priorities.
Previous Question | Next Question |
In an AVL tree, at what condition the balancing is to be done? | How many different trees are possible with 10 nodes ? |