Skip to content

Glossary: Coding Interviews in Rust

VecDeque

Also written: push_back, pop_front

A Rust `Vec` that is fast at both ends, used as the queue for BFS with `push_back` and `pop_front`.

Where the book teaches it

Related terms

BFS (breadth-first search)