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`.
Glossary: Coding Interviews in Rust
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`.