Leetcode 2701. Consecutive Transactions with Increasing Amounts | Hello Interview