Skip to content

Tree fundamentals

↑

A rooted tree has one distinguished root and every other node has one parent. Learn to distinguish nodes, edges, leaves and paths before writing a traversal algorithm.

Start with one concept, work through a small example, and verify your prediction. Follow linked topics when a prerequisite or related idea needs more explanation.

Articles