About dynamic programming

Hi everyone, I am learning to do dynamic programming but as each time I run on a problem that uses dynamic programming in a sim contest, I try to avoid using dynamic programming by the fact that I am bad at building the status algorithm. Any tips? (I understand what I'm trying to achieve. I don't know how to do the steps.)
For a couple of articles on C++ Dynamic Programming:
https://www.cprogramming.com/tutorial/computersciencetheory/dp.html
https://dev.to/gnsp/a-tutorial-on-dynamic-programming-in-c-4aca

There's other web resources.

What are the issues you're coming across? Where have you attempted dynamic programming and failed? Have you got an example with your code that you could share for further advice/guidance?
Topic archived. No new replies allowed.