Back to Roadmap
Week 5Day 31 of 35

Weakness Repair

Turn confusion into a plan: revisit the problem that still feels slippery and rebuild it slowly.

Day Progress0%

0 of 4 problems solved

Pattern Focus

Weakness Repair

Turn confusion into a plan: revisit the problem that still feels slippery and rebuild it slowly.

Pattern Checklist
  • Which exact step feels weak: choosing the pattern, coding the invariant, or testing?
  • Can I shrink the problem into a tiny version first?
  • Can I solve it once without notes before calling it repaired?
🧠New to DSA? Start here 🧠

Weakness Repair is where real progress happens. The problem that confuses you is not a sign that you are bad at DSA. It is a spotlight showing you exactly where the next gain is hiding. The goal is not to reread the answer twenty times. The goal is to identify what felt fuzzy and rebuild that part slowly until it clicks.

Confusion is useful when you turn it into a diagnosis instead of a mood.

How to think about it
  1. 1Pick the problem that still feels unstable in your head.
  2. 2Write down what part actually breaks: pattern choice, edge cases, pointer movement, recursion, or something else.
  3. 3Re-solve a tiny version first.
  4. 4Then redo the full problem without peeking at notes.
🚧Common Mistake

Passive rereading feels productive, but it rarely fixes the exact part that was confusing. Active rebuilding does.

🔍Problem Hints

Coin Change

DP bottom-up: build the minimum coins needed for each amount from 1 to target. For each amount, try every coin and take the minimum.

Edit Distance

2D DP: if characters match cost is 0, otherwise min(insert, delete, replace) + 1. Build the table row by row.

Problems

Pick Your Weakest Problem

easy

Redo It Without Notes

medium

Coin Change

medium

Edit Distance

hard