Lingua-e
← Glossary

What does "deque" mean in programming?

deque is one of the most common terms in software development. This guide explains what it means, how it is used in practice, and why it matters, with real examples from the developer world.

Definition

Short for double-ended queue. A data structure that allows inserting and removing elements from both the front and the back in O(1) time. Combines the behaviors of a stack and a queue.

Example

"Use a deque to implement a sliding-window algorithm where you add to one end and remove from the other."

Related terms

Ready to practice your English at work?

Lingua-e has interactive exercises built around real developer conversations: standups, code reviews, retrospectives, and more. Practice until it comes naturally.

Try Lingua-e for free