Priority queue

A priority queue is an abstract data type in computer programming that supports the following three operations: For an analogy, see the Implementation section below. One can imagine a priority queue as a modified queue, but when one would get the next element off the queue, the highest-priority one is retrieved first. A queue is a special case of a priority queue where an element's priority is the time (or negative of the time) that element was i... more

Similar topics in Freebase

  • Stack

    In computer science, a stack is a last in, first out (LIFO) abstract data type and data structure. A stack can have any abstract data type as an element, but is characterized by only two fundamental operations: push and pop. The push operation adds to the top of the list, hiding any items already...
  • Self-balancing binary search tree

    In computer science, a self-balancing (or height-balanced) binary search tree is any binary search tree data structure that automatically keeps its height (number of levels below the root) small in the face of arbitrary item insertions and deletions. These structures provide efficient...
  • Binary search tree

    In computer science, a binary search tree (BST) is a node based binary tree data structure which has the following properties: From the above properties it naturally follows that: Generally, the information represented by each node is a record rather than a single data element. However, for...
  • Graph

    In computer science, a graph is an abstract data structure that is meant to implement the graph concept from mathematics. A graph data structure consists mainly of a finite (and possibly mutable) set of ordered pairs, called edges or arcs, of certain entities called nodes or vertices. As in...

These people have edited this topic:

Edit this topic
Edit and Show details

Add or delete facts, download data in JSON or RDF formats, and explore topic metadata.

Freebase Logo
What is Freebase?

Freebase is a huge collection of facts, built by people like you. Freebase connects facts in ways other sites can't, giving you new ways to explore millions of subjects.
You can help improve it!

Freebase Attribution

Freebase data is free for use under the CC-BY license.

The original description for Priority queue was automatically generated from Wikipedia.org licensed under the GNU Free Documentation License.
[1]
Learn more about Freebase licensing and attribution