Algo: Tree

A widely used data structure that simulates a hierarchical tree structure with a set of linked nodes.

A simple unordered tree; in this diagram, the node labeled 7 has two children, labeled 2 and 6, and one parent, labeled 2. The root node, at the top, has no parent.