Glossary: Coding Interviews in Rust
Box
Also written: Box<T>
A Rust pointer type that owns a value on the heap. It lets a tree node own its children, as in `Option<Box<TreeNode>>`.
Glossary: Coding Interviews in Rust
Also written: Box<T>
A Rust pointer type that owns a value on the heap. It lets a tree node own its children, as in `Option<Box<TreeNode>>`.