Leetcode 2551. Put Marbles in Bags | Hello Interview