Mental Model
Start solving the smallest parts first and build up to the full problem by saving answers in a table.
Analogy: Like filling a staircase from the bottom step by step, so you can reach the top easily without jumping.
Table: [0, 0, 0, 0, 0] Index: 0 1 2 3 4 ā Start filling from left to right
