Leetcode 2944. Minimum Number of Coins for Fruits | Hello Interview