Leetcode 3466. Maximum Coin Collection | Hello Interview