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 Differences between map and hashmap?
How can I learn data structures?
How do you assign an address to an element of a pointer array ?
Differentiate bfs and dfs?
What are different types of algorithms?
What are the advantages and disadvantages of copyonwritearraylist?
applications of linked lists and mostly used linked list?
What is an acyclic graph?
How remove all from arraylist?
How do you represent a linked list?
How many types of linked list exist?
Is binary tree balanced?