WillowTree Interview Question

Whiteboard coding - algorithm, recursion