Index Priority Queue Algorithm

In computer science, a priority queue is an abstract data type like to regular queue or stack data structure in which each component additionally has a" priority" associated with it. In a priority queue, an component with high priority is served before an component with low priority.

Index Priority Queue source code, pseudocode and analysis