Clio interview question

LeetCode-style coding problem in CoderPad