Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Concept

Deque

Data Structure

A double-ended queue that supports adding and removing elements from both its front and its back in constant time, generalizing both the stack and the queue into one structure.

Facts
Core Principle
A data structure in which items may be added to or deleted from the head or the tail. 1
Connections

In Field

Sources
1. deque, Dictionary of Algorithms and Data Structures, NIST
Definition
Quote, Definition
A data structure in which items may be added to or deleted from the head or the tail.
View the Source
Double-ended queue (Wikipedia)
In Group: Linear and Sequence Structures, Lead
Quote, In Group: Linear and Sequence Structures, Lead
In computer science, a double-ended queue (abbreviated as deque, DEK), is an abstract data type that serves as a container, with a restricted access to the stored items.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.