COINLIST interview question

The technical interview was a Leetcode-style algorithm question