Problem 1553 · Hard

Minimum Number of Days to Eat N Oranges

Memoize the fewest days for each remaining count, choosing between eating one, half, or two thirds on each day.

Open the interactive visualisation