Domanda di colloquio di JPMorganChase

Leetcode easy, nothing difficult really