Back to Notes

Week 10 — Jul 27–Aug 2, 2026 — 2-D Dynamic Programming

Week 10 (Jul 27 – Aug 2, 2026) — 2-D DP (Sprint S6 of 8)

11 problems, the hardest bucket. Timer on, solo. Expect this week to bleed time — that's normal.

→ Curriculum: [[Coach/project_dsa_sd_curriculum]] | Coach state: [[synthesis/Coach Hub]]


Goals This Week

  • 11 DSA problems on time, solo
  • SD problem: Search Autocomplete (Trie + Redis cache)
  • Redis: Persistence (RDB / AOF)
  • DDIA: Ch8 Transactions pt2 (complete)
  • Sun Aug 2 scorecard + S7 direction

DSA Problem Set (11)

#ProblemLCDiffTargetSolved?TimeNotes
1Unique Paths62M20 min☐grid count
2Longest Common Subsequence1143M25 min☐2-D table
3Best Time Buy/Sell w/ Cooldown309M30 min☐state machine
4Coin Change II518M30 min☐count combos
5Target Sum494M30 min☐subset-sum transform
6Interleaving String97M35 min☐2-D bool
7Longest Increasing Path in Matrix329H35 min☐DFS + memo
8Distinct Subsequences115H35 min☐
9Edit Distance72M30 min☐classic 2-D
10Burst Balloons312H40 min☐interval DP
11Regular Expression Matching10H40 min☐2-D w/ '*' handling

Score: __/11 on time


SD + Redis + DDIA

ItemStatusNotes
SD: Search Autocomplete⬜Trie server-side + Redis cache of top-k per prefix; ranking
Redis: persistence⬜RDB snapshots vs AOF; trade-offs, durability
DDIA: Ch8 Transactions pt2⬜serializable, 2PL, SSI, write skew

Daily Plan (compact)

  • Mon: 2-D DP theory (grid + string DP) + LC 62, 1143
  • Tue: LC 309, 518
  • Wed: LC 494, 97 + Redis persistence
  • Thu: LC 329, 115 + SD Autocomplete high-level
  • Fri: LC 72, 312 + DDIA Ch8.2
  • Sat: LC 10 (hard) + Autocomplete whiteboard
  • Sun: retro + scorecard + create S7 tracker

Decision Gate (Sun Aug 2)

ScoreVerdictS7
9–11Pass strongIntervals + Math/Geo + Notifications
6–8PatchyIntervals/Math + retry weak 2-D
<6FailPatch 2-D DP into S7 buffer

Hours Log

DayPlannedActual
Mon–Sun~26h

Retro (fill Sun)

  • Solved on time: __/11 | Weakest: __ | SD: __ | Redis: __ | DDIA: __ | S7 decision: __