Phase 18Days 91-101

Graphs

Representations, BFS/DFS, toposort, shortest paths, MST and DSU, in a clean dependency order

Phase Goal

The biggest phase: build every core graph algorithm on top of the traversals, ending with DSU.

Progress

Day 91: Graph representations & traversal

Day 92: Grid & component problems

Day 93: Cycle detection & bipartite

Day 94: Topological sort

Day 95: Shortest paths — unweighted & DAG

Day 96: Dijkstra

Day 97: Bellman-Ford & Floyd-Warshall

Day 98: Minimum spanning tree — Prim's

Day 99: Disjoint Set Union & Kruskal's

Day 100: DSU applications

Day 101: Advanced graph topics (intro) & recap

Phase Complete!

After this phase, you'll be able to:

  • Graph representations & traversal
  • Grid & component problems
  • Cycle detection & bipartite
  • Topological sort
  • Shortest paths — unweighted & DAG
  • Dijkstra
  • Bellman-Ford & Floyd-Warshall
  • Minimum spanning tree — Prim's

After Phase 18, explain a core invariant, reconstruct a solution after a delay, diagnose a bug, and solve one unlabelled variation. Repair a failed prerequisite before advancing; record help separately from independent work.