Skip to content

Glossary: Algorithms Beyond the Basics in Java

ArrayDeque

Also written: Deque

A Java collection that works well as a queue, where items are added at the back and `poll` takes from the front. Kahn's algorithm uses it to hold ready tasks.

Where the book teaches it

Related terms

Kahn's algorithmPriorityQueue