← Home
Graph Algorithms
Big Tech Interview Prep · 2 hrs/day · 5 days/week · Java
Week 1 — Fundamentals
DAY 1 · MON
Graph Representation
Adjacency list vs matrix vs edge list · when to use each
DAY 2 · TUE
Breadth-First Search
Ring traversal · shortest path (unweighted) · multi-source
DAY 3 · WED
Depth-First Search
Recursive & iterative · pre/post-order · backtracking
DAY 4 · THU
Connected Components
Traversal in a loop · labeling · flood fill
DAY 5 · FRI
Fundamentals Consolidation
Synthesis · recall drills · timed redo · exit check
Week 2 — Shortest Path + Union-Find
DAY 6 · MON
Bellman-Ford & 0-1 BFS
Edge relaxation · V−1 passes proof · negative cycles · deque trick
DAY 7 · TUE
Dijkstra & Floyd-Warshall
Greedy correctness · why negatives break it · all-pairs DP
DAY 8 · WED
Basic Union-Find
Disjoint sets · forest representation · the equivalence invariant
DAY 9 · THU
Union by Rank + Path Compression
Shallow trees · flattening · the O(α(n)) inverse-Ackermann bound
DAY 10 · FRI
Union-Find Applications
Cycle detection · Kruskal prep · grouping/merging entities
Week 3 — Topological Sort + MST
DAY 11 · MON
Kahn's Algorithm (BFS Topo)
In-degree peeling · cycle-via-count · dependency ordering variances
DAY 12 · TUE
DFS Topo + Cycle Detection
Finish-time ordering · 3-color marking · directed cycle variances
DAY 13 · WED
Kruskal's MST
Global greedy · cut-property proof · MST disguises
DAY 14 · THU
Prim's MST
Grow-a-tree · Kruskal vs Prim · dense-graph variances
DAY 15 · FRI
Topo + MST Consolidation
Recognition flowchart · master variance cheat-sheet · exit check
Week 4 — Advanced
DAY 16 · MON
Bipartite Check
2-coloring · König's odd-cycle theorem · two-group variances
DAY 17 · TUE
Tarjan's SCC
disc/low-link · single-pass SCCs · 2-SAT & condensation variances
DAY 18 · WED
Bridges & Articulation Points
Low-link criticality · > vs ≥ · single-point-of-failure variances
DAY 19 · THU
A* Search & Eulerian Path
Admissible heuristics · Hierholzer · itinerary/de Bruijn variances
DAY 20 · FRI
Network Flow + Full Review
Edmonds-Karp · max-flow min-cut · master recognition table · capstone
See
SCHEDULE.md
for the full 4-week plan and progress tracker.