← Back to Sunday Lessons

Graphs Part 2 — Adjacency Lists & Cycles

Build adjacency lists, detect cycles with DFS, and find valid course orderings

🌐

Graphs Part 1 — DFS on Grids

Haven't done Part 1? Start with DFS grid exploration first

🎬

Interactive Graph Animation

Watch DFS cycle detection step-by-step with adjacency lists

Graph Part 2 Exercises0/3