Domanda di colloquio di JPMorganChase

Simple easy recursive leetcode question and array question