{"id":"apples-early-return-index","text":"`maxNumberOfApples` returns the loop index `i` (not `i+1`) on budget overflow because `enumerate` is zero-based and `i` equals the count of previously accumulated apples before the one that broke the budget.","truth_value":"IN","source":"entries/2026/06/06/how-many-apples-can-you-put-into-the-basket-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"apples-early-return-index","truth_value":"IN","reason":"premise"}]}}