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.
Glossary: Algorithms Beyond the Basics in Java
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.