Apple Picking Optimization Algorithm
问题 I found these problem: Suppose that I have fields with N apple tree, each with A i apple on it. I also have M basket, each basket have the property C i for capacity and F i for flexibility. When I'm going to pick the apple trees I can only pick from tree in order from 1 to N. At each tree I have two options, to pick all the apple on the tree or to expand my basket to increase it's capacity by F. When I expand the basket, I cannot pick the fruit in the that tree. Find the maximum number of