The structure of the tree

See also

Implementation examples: