Available question text
Given n, compute the minimum days to reduce it to 0 when each day you may either eat 1 orange, or—if n is divisible—eat n/2 (leaving n/2) or eat 2*(n/3) (leaving n/3). With n up to 2×10^9 the challenge is to avoid linear DP and use recursion with memoization / divide-and-conquer to explore optimal divide-by-2/3 reductions.
Related questions
Continue with questions that share topics or the same question type.
- Minimum Number of Days to Disconnect Island
Coding
- Minimum Number of Days to Make m Bouquets
Coding · Array · Binary Search
- Add Minimum Number of Rungs
Coding
- Customers with Maximum Number of Transactions on Consecutive Days
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Google
Leetcode 1553. Minimum Number of Days to Eat N Oranges
Reported Sep 10, 2024 · 1 source report
MID_LEVEL
Source snapshot: Nov 12, 2026
View source