I tried solving the coin change problem for the first time and couldn't make much progress. I had to watch several explanations before the dynamic programming approach started to make sense. Is this a normal reaction, or am I missing a fundamental idea about dynamic programming? It feels much harder than I expected.
3 Answers
Watching an explanation several times is not unusual, especially for a first DP problem. Let the idea sit for a while, then try writing the solution yourself without the video. After that, work through a few simpler problems so you can practice defining the recurrence instead of memorizing one solution.
The coin change problem can feel especially confusing because there are multiple versions and more than one valid approach. Try starting with a small target amount, manually list the best result for each amount, and look for how the answer depends on previously solved amounts. That usually makes the table and recurrence easier to understand.
Yes, that’s completely normal. Dynamic programming isn’t one single technique—it can look very different from problem to problem. The key usually comes from identifying the state, deciding what each state means, and finding how smaller states build the current one. It takes practice before that pattern becomes intuitive.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically