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 |
Why do we need sorting?
Is array immutable?
What is sorting explain?
What are hashmaps good for?
What is the best complexity of bubble sort?
Mention the data structures which are used in graph implementation.
Is file a data structure?
What is selection in an algorithm?
What are the disadvantages of linear list?
Write an algorithm to find middle element in the linked list.
What is the maximum size of array?
Is array a linked list?