deque (C1)
noun
Pronunciation: /dɛk/
Definition
A double-ended queue, a data structure that allows elements to be added or removed from both the beginning and the end.
Examples
The programmer used a deque to implement an undo and redo feature in the text editor.
Deques are particularly useful in algorithms that require efficient insertion and deletion of elements at both ends.
The deque data structure is a generalization of the stack and queue data structures.
How to Use deque
- use a deque (phrase)
- to utilize a deque data structure — "The programmer used a deque to implement an efficient algorithm."
- deque operations (phrase)
- actions performed on a deque — "The deque operations include adding and removing elements from both ends."
Browse the full Anaversity dictionary