dynamic programming
Dynamic Programming is a technique for solving problems by working backwards from the end goal. It is used to find solutions to complex problems by breaking them down into simpler, more manageable sub-problems. The most common application of dynamic programming is in the optimization of problems, ......