A very straight-forward example of a 2D DP problem and how to approach solving it by noticing the limits of the variables given.
Link to the solution: https://cses.fi/problemset/result/555...
On this page of the site you can watch the video online CSES Book Shop | Dynamic Programming | C++ Solution | 2D dynamic programming problem with a duration of hours minute second in good quality, which was uploaded by the user Fast Code Developer 06 July 2023, share the link with friends and acquaintances, this video has already been watched 676 times on youtube and it was liked by 8 viewers. Enjoy your viewing!