u/Sea-Possession5267

▲ 1 r/cs50

DP finally stopped feeling like black magic

Okay so I've been putting off dynamic programming for way too long. Every time it showed up I'd just pray it wasn't on the exam and move on.

Tried reading through it multiple times, watched stuff, none of it really landed. I think the problem was I was trying to memorize solutions instead of actually understanding what's happening under the hood.

What changed for me recently was finding a resource that actually showed a repeatable process like not "here's how to solve coin change" but more "here's how you'd think through ANY problem like this." Made me realize I wasn't bad at DP, I just never had a framework going in.

Still not gonna claim I can solve hard LeetCode problems in my sleep LOL, but medium-level stuff feels way more approachable now than it did two weeks ago.

Anyone else here go through that same wall with it? Curious if people found pset 6 / the recursion heavy stuff clicked at a certain point or if it was gradual.

reddit.com
u/Sea-Possession5267 — 4 days ago