Fibonacci Series
These problems are the entry point to dynamic programming: linear DP on a single 1-D index, where the state at i depends only on a handful of earlier states. Each one is presented through the same progression - start with the bare recurrence memoized by an LRU cache, make the memo table explicit, turn it bottom-up into a tabulation, then shrink that table to the last few cells for O(k) space. Seeing one recurrence in all four forms is the fastest way to internalize the top-down to bottom-up transformation.
Fibonacci Series Extension
509. Fibonacci Number
70. Climbing Stairs
1137. N-th Tribonacci Number
Easy·
Solutions:
FIG. 1137 N TH TRIBONACCI NUMBER LRU● INTERACTIVE
Staircase
Number Factors
Min / Max, Top-Down (N to 0)
746. Min Cost Climbing Stairs
Easy·
Solutions:
FIG. 746 MIN COST CLIMBING STAIRS LRU● INTERACTIVE
Minimum Jumps with Fee
198. House Robber
213. House Robber II
Min / Max, Bottom-Up (0 to N)
Minimum Jumps to Reach the End
Easy·
Solutions:
FIG. MINIMUM JUMPS TO REACH THE END LRU● INTERACTIVE