A Generic Priority Queue

added by BlackWasp
2/11/2013 5:00:16 PM

0 Kicks, 98 Views

A queue is a data structure that preserves the order of items added to it to give first in, first out, or FIFO, operation. A priority queue is similar but attaches a priority to each element, so that the more important items are extracted earlier.