Gusto Interview Question

Medium/Hard Leetcode Question. Included recursion.