Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Minimum number of queues needed to implement the priority queue?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we add heterogeneous elements into treemap?

959


What are the properties of an algorithm?

1020


Can you sort a hashset?

912


What is difference between arraylist and linkedlist?

1037


What are hashmaps good for?

880


What is a circular singly linked list?

927


Write an algorithm for inserting and deleting an element from doubly linked list?

915


What are scalar values?

985


Which process places data at the back of the queue?

1140


Can hashmap have duplicate keys?

897


What is return map?

959


What is Storage Structures and File Structures? Can you show their relation? What are the examples of each? Thanks

2546


How do we find duplicate elements in an array?

965


What is queue in data structure?

969


Write the stack overflow condition.

1047