{"id":"min-cost-assumes-length-ge-2","text":"`minCostClimbingStairs` will raise `IndexError` if `cost` has fewer than 2 elements; it relies on the LeetCode constraint `len(cost) >= 2` without validation.","truth_value":"IN","source":"entries/2026/06/06/min-cost-climbing-stairs-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":["dp-rolling-reduction-correct-unless-degenerate-input"],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"min-cost-assumes-length-ge-2","truth_value":"IN","reason":"premise"}]}}