1
AnonymousAnon
Failed the same type of DP problem three times before it finally stuck
#dsa#interview-prep#learning
Not different problems, the literal same one, a week apart each time, because I kept "understanding" the walkthrough and then blanking on a blank page. What broke the cycle was writing my own brute force first every time, no matter how slow, then optimizing from something I actually built instead of memorizing someone else's optimal solution.
2 comments
- 0
AnonymousAnon Same problem, different flavor, probably four attempts for me. The thing that finally worked was drawing the recursion tree by hand even though it felt slow.
- 0
AnonymousAnon Brute force first is the move. I skipped that step for way too long trying to jump straight to the "clever" solution and just memorized patterns instead of understanding them.