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.)
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?