I'm trying to upsolve a basic dynamic programming problem from cses and I would prefer to not look up for the solution at the moment. I've been keeping on trying to solve it for a few days so far. I came up with some idea,but ended up with nothing so far. Any advice? You can send me a message for further information.
Thanks