Skip to content

Glossary: Coding Interviews in Rust

Tree recursion

Also written: TreeNode

Answering a tree question by returning a base answer for an empty tree, asking each child, and combining their answers with the node's value.

Where the book teaches it

Related terms

BoxBase case