Tree

A tree is a specific type of graph having a root node and branches with (ultimately) leaf nodes. Can also be described as a linked list with nodes having multiple successors. Another (more abstract) definition could be a set containing sets (as there are no cycles). A tree can also be refered to as a hiearchy.

Examples

java.til.TreeSet java.util.TreeMap java.util.PriorityQueue

Terms

Algorithmic Tree Traversals