Domanda di colloquio di JPMorganChase

Easy leetcode questions. Focus on algorithm