Leetcode 3363. Find the Maximum Number of Fruits Collected | Hello Interview