study guides for every class

that actually explain what's on your next test

Deques

from class:

AP Computer Science A

Definition

Deques, short for double-ended queues, are data structures that allow insertion and removal of elements from both ends. They can be used to implement stacks and queues efficiently.

"Deques" also found in:

© 2025 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.