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 |
What are the disadvantages of sequential storage?
Why do we need to recycle?
What do you mean by primary clustering?
Where is data structure used?
Define union-by-weight?
Explain heapsort. What is its complexity?
How is a queue works?
What is the difference between sorting and classifying?
What is a pseudocode example?
What is different between array and list?
Are collections thread safe?
Which is best book for data structures?