Data Structures Question:

Download Job Interview Questions and Answers PDF

Minimum number of queues needed to implement the priority queue?

Data Structures Interview Question
Data Structures Interview Question

Answer:

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

Download Data Structures Interview Questions And Answers PDF

Previous QuestionNext Question
In an AVL tree, at what condition the balancing is to be done?How many different trees are possible with 10 nodes ?