Back to Notes

Week 09 — Jul 20–26, 2026 — 1-D Dynamic Programming

Week 09 (Jul 20 – Jul 26, 2026) — 1-D DP (Sprint S5 of 8)

12 problems. DP = the make-or-break bucket. Theory block first. Timer on, solo.

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


Goals This Week

  • 12 DSA problems on time, solo
  • SD problem: Uber / Yelp (geo — war-story week, go deep)
  • Redis: GEO commands + Cluster/sharding
  • DDIA: Ch8 Transactions pt1
  • Sun Jul 26 scorecard + S6 direction

DSA Problem Set (12)

#ProblemLCDiffTargetSolved?TimeNotes
1Climbing Stairs70E15 min☐fib base
2Min Cost Climbing Stairs746E15 min☐
3House Robber198M20 min☐rob/skip
4House Robber II213M25 min☐circular → 2 passes
5Longest Palindromic Substring5M30 min☐expand-around-center
6Palindromic Substrings647M25 min☐same expand
7Decode Ways91M30 min☐1-digit + 2-digit transitions
8Coin Change322M30 min☐unbounded min
9Maximum Product Subarray152M25 min☐track min+max
10Word Break139M30 min☐dp over prefixes
11Longest Increasing Subsequence300M30 min☐O(n²) then patience O(n log n)
12Partition Equal Subset Sum416M30 min☐0/1 knapsack bool

Score: __/12 on time


SD + Redis + DDIA

ItemStatusNotes
SD: Uber / Yelp⬜geohash/quadtree, driver-location updates, matching — ties to your WebSocket geo war story
Redis: GEO + cluster⬜GEOADD/GEOSEARCH; cluster slots, hash tags
DDIA: Ch8 Transactions pt1⬜ACID, isolation levels, read committed/snapshot

Daily Plan (compact)

  • Mon: DP theory (1-D framework: state, transition, base) + LC 70, 746
  • Tue: LC 198, 213
  • Wed: LC 5, 647 + Redis GEO
  • Thu: LC 91, 322 + SD Uber high-level (lean on geo story)
  • Fri: LC 152, 139 + DDIA Ch8.1
  • Sat: LC 300, 416 + Uber whiteboard cold
  • Sun: retro + scorecard + create S6 tracker

Decision Gate (Sun Jul 26)

ScoreVerdictS6
10–12Pass strong2-D DP (11) + Autocomplete + Redis persistence
7–9Patchy2-D DP + retry weak 1-D
<7FailRepeat 1-D DP in S6 — DP is non-negotiable

Hours Log

DayPlannedActual
Mon–Sun~24h

Retro (fill Sun)

  • Solved on time: __/12 | Weakest: __ | SD: __ | Redis: __ | DDIA: __ | S6 decision: __