Rosetta Problems

Find the Maximum Number of Fruits Collected

https://leetcode.com/problems/find-the-maximum-number-of-fruits-collected