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 is scalar data type?
What do you mean by free pool?
What do you mean by level of the tree?
What is the difference between push and pop?
What happens if we try to insert duplicate key in hashmap?
What is the purpose of sorting?
What exactly is a thread?
What is breadth first tree?
How to find middle element of linked list in one pass?
What is impact of signed numbers on the memory using data structures?
What are the disadvantages of using collection classes over arrays?
What is binary search tree and explain its time complexity?