Staircase Problem — Recursion & Dynamic Programming

Same input, two ways: watch the recursive call tree, or watch the dp table fill in step by step.
Ways found so far: 0
Currently at step 0 of 0
no run yet
not yet called
on the call stack
resolved (sum of children)
reached top (base case)
overstepped (base case)
cache hit (memoized)

Tabulation table (dp array)

cell being computedcells it reads fromtarget (the answer)