Capital One Interview Question

Simple leetcode-style problem about bank transactions simulation.