Dynamic Programming
Example: Adding numbers
# Addition of numbers
6 + 5 + 3 + 3 + 2 + 4 + 6 + 5
# Breaking down to subproblems:
6 + 5, 3 + 3, 2 + 4, 6 + 5
There is a subproblem repeated --> 6 + 5Last updated
# Addition of numbers
6 + 5 + 3 + 3 + 2 + 4 + 6 + 5
# Breaking down to subproblems:
6 + 5, 3 + 3, 2 + 4, 6 + 5
There is a subproblem repeated --> 6 + 5Last updated