Skip to content

Tree traversal

↑

Traversal determines when a node is processed relative to its children. Use the same binary tree to compare all four orders and observe the recursion stack or queue as you step through.

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