Problem 2106 · Hard

Maximum Fruits Harvested After at Most K Steps

Harvest the most fruit within a travel budget on a number line.

Open the interactive visualisation