Priority Queue in Java

Posted by Crniranjanraj under Others on 10/5/2015 | Points: 10 | Views : 1790 | Status : [Member] | Replies : 1
Explain the concept of priority queue with an example in Java. What is the use of this?




Responses

Posted by: Rajnilari2015 on: 10/12/2015 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 25

Up
0
Down
In computer science, a priority queue is an abstract data type which is like a regular queue or stack data structure, but where additionally each element has a "priority" associated with it.

Program : http://www.javatpoint.com/PriorityQueue-class-in-collection-framework

--
Thanks & Regards,
RNA Team

Crniranjanraj, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response