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`.
Glossary: Data Structures and Algorithms in Java
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`.