Skip to content

Glossary: Data Structures and Algorithms in Rust

Root, leaf

Also written: root, leaf, leaves

The root is the top node of a tree, and a leaf is a node with no children.

Where the book teaches it

Related terms

Child, parentSubtreeHeight