Status: IN
`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.
Source: entries/2026/06/06/how-many-apples-can-you-put-into-the-basket-solution.md