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 is quicksort unstable?
Is arraylist a collection?
How will you sort the elements of array in descending order?
Explain the steps to insert data into a singly linked list?
Which interface treemap implements?
Why is concurrenthashmap thread safe?
Does hashmap preserve insertion order?
What is the best case complexity of quicksort?
Is an arraylist an object?
Explain what is linear search?
Write programs for Bubble Sort, Quick sort
What is dynamic data structure?