Leetcode 1705. Maximum Number of Eaten Apples | Hello Interview