Comprehensive Mastery Guide
Trees, Graphs & Recursive Traversals
Navigating Hierarchical Structures and Graph Invariants
Tree and graph traversal algorithms test your mastery of recursion, stack memory, and graph connectivity. Whether implementing binary search tree validation, lowest common ancestor, or topological sort, understanding recursive state is essential.
Tree & Graph Traversal Patterns
9 core tree and graph patterns, animated step-by-step in Java. Click a file to open it.
36problems
Algorithm patterns — expand for debug steps & solution
0
Practice these — same pattern, different skin