javac TreeGraphPatterns.java && ./run --mode=interview-prep

Tree & Graph Traversal Patterns

Explore core tree and graph algorithms with animated visualizations. Understand DFS, BFS, BST validation, LCA, path sum, connected components, and topological ordering as state evolves step-by-step.

Algorithm patterns — expand for debug steps & solution
    0
    Practice these — same pattern, different skin