Leetcode 3220. Odd and Even Transactions | Hello Interview