min-cost-final-answer-is-min-of-last-two

Status: IN

The final `min(prev1, prev2)` is necessary because you can reach the top (one past the last index) from either of the last two steps.

Source: entries/2026/06/06/min-cost-climbing-stairs-solution.md

Depended on by

JSON