min-cost-assumes-length-ge-2

Status: IN

`minCostClimbingStairs` will raise `IndexError` if `cost` has fewer than 2 elements; it relies on the LeetCode constraint `len(cost) >= 2` without validation.

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

Depended on by

JSON