Domanda di colloquio di Gusto

Medium/Hard Leetcode Question. Included recursion.