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.
How to study this section
Section titled “How to study this section”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.
Explore guides and subcategories
Section titled “Explore guides and subcategories”Articles
