Phase 1 — Graph Mastery (Day 1–20)
Target: Complete CSES Graph Algorithms + Key LeetCode Graph Hards
Day 1 — BFS & Multi-Source BFS
CSES:
LeetCode:
- Shortest Path in Binary Matrix (Medium)
Day 2 — Dijkstra Basics
CSES:
LeetCode:
- Network Delay Time (Medium)
Day 3 — Bellman-Ford & Negative Cycles
CSES:
- Shortest Routes II (Floyd-Warshall)
- Cycle Finding
LeetCode:
- Cheapest Flights Within K Stops (Medium/Hard) (Belman-ford)
Day 4 — Topological Sorting
CSES:
- Course Schedule (Khans ALgorith) - In_degree
- Longest Flight Route
LeetCode:
- Course Schedule II (Medium)
Day 5 — Strongly Connected Components
CSES:
- Planets and Kingdoms (Kosaraju)
- [] Giant Pizza Solution Link - 2-SAT Problem
LeetCode:
Day 6 — Bridges & Articulation Points
CSES:
LeetCode:
Day 7 — Minimum Spanning Tree
CSES:
- Road Reparation
- [Road Construction](repeat for MST version)
LeetCode:
- Connecting Cities With Minimum Cost (Medium)
Day 8 — Advanced BFS/0-1 BFS
CSES:
LeetCode:
Day 9 — DSU Rollback / Offline
CSES:
LeetCode:
- Redundant Connection II (Hard)
Day 10 — Graph Recap Contest
- Pick 4 unsolved/mistakes from last 9 days
- Solve in 2.5 hrs timed
- Review all Graph notes
Day 11 — Multi-Source + State BFS
CSES:
LeetCode:
- The Maze III (Hard)
Day 12 — Flow Basics
CSES:
- Download Speed (Max Flow)
- Police Chase II
LeetCode:
- Max Flow in a Network (Hard-ish)
Day 13 — Flow & Matching
CSES:
-
School Dance (Matching)
LeetCode:
- Bipartite Matching Problem (Medium)
Day 14 — Advanced Graph Mix
CSES:
LeetCode:
- Number of Ways to Arrive at Destination (Medium/Hard)
Day 15 — Graph Contest
Task:
-
4 problems: 2 CSES + 2 LeetCode Hard in 3 hrs.
-
Full post-mortem.
Day 16–20:
Graph Revision + Weak Point Drills
-
Day 16: CSES repeat MST + DSU
-
Day 17: CSES repeat SCC + Bridges
-
Day 18: LeetCode Hard BFS/DFS mix
-
Day 19: LeetCode Hard Dijkstra/DP hybrid
-
Day 20: Full Graph Mock Contest
Phase 2 – Advanced DP (Day 21–40)
Day 21 — Bitmask DP Basics
CSES:
LeetCode:
Day 22 — DP on Trees
CSES:
LeetCode:
- House Robber III (Medium)
Day 23 — Digit DP
CSES:
LeetCode:
- Numbers At Most N Given Digit Set (Hard-ish)
Day 24–28 — DP Mixed Sets
- Knuth Optimization
- Probability DP
- State Compression
Example: LeetCode: 312 (Burst Balloons), 1547 (Min Cost to Cut Stick), 1220 (Count Vowel Permutations), 188 (Stock IV), 2218 (Max Value of K Coins)
Day 29–30 — DP Mock
- Day 29: 4 advanced DP problems
- Day 30: Mixed DP + Graph in 3 hr mock
Phase 3 – Mixed Advanced (Day 41–65)
Day 41–45 — Segment Tree / BIT
CSES:
LeetCode:
- 307, 315, 493, 327 (all segment tree/BIT)
Day 46–50 — Mo’s Algorithm & Offline Queries
- CSES Range Queries advanced problems
- LeetCode hard prefix/suffix trick problems
Day 51–55 — Backtracking + Pruning
- CSES combinatorics problems
- LeetCode: N-Queens II, Word Search II, Remove Invalid Parentheses, Sudoku Solver
Day 56–60 — Greedy + Proof Problems
- CSES Greedy advanced
- LeetCode Hard Greedy: 135, 164, 630, 757
Day 61–65 — Mixed Practice
- Each day: 1 Graph, 1 DP, 1 Data Structure
- Time cap: 35–40 min/problem
Phase 4 – Hardcore Interview Simulations (Day 66–90)
Daily Flow:
- Problem 1 (Hard Graph) — 40 min
- Problem 2 (Hard DP) — 40 min
- Problem 3 (Mixed Advanced) — 40 min
- Problem 4 (Medium speed) — 25 min
Weekly:
- 2x Mock Interviews on Pramp/Interviewing.io
- Friday night: Review all mistakes + pattern doc
- Sunday morning: Full 3 hr contest
Final Week (Day 85–90):
- Day 85–87 → Company-specific sets (Google, Meta)
- Day 88–89 → 6 hr mock interview day
- Day 90 → Chill + light revision of notes