Skip to content

Glossary: Data Structures and Algorithms in Java

enqueue, dequeue

Also written: enqueue, dequeue

Adding an item at the back of a queue, and taking one off the front. In Java's `Deque` these are `offer` and `poll`.

Where the book teaches it

Related terms

queueoffer, poll, peek