Sponsored
Use these hints if you're stuck. Try solving on your own first.
In each step, choose between 2 options: minOranges = 1 + min( (n%2) + f(n/2), (n%3) + f(n/3) ) where f(n) is the minimum number of days to eat n oranges.
Solve with full IDE support and test cases