Trees

A tree is a hierarchical representation of data.


A, B, C, D, E, F are nodes of the tree

A is the parent of B & C
D, E, F are children of B

A & B are internal nodes
C, D, E, F are leaf nodes

A is the root node


next