Skip to content

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>>`.

Where the book teaches it

Related terms

Tree recursion