Pregunta de entrevista de JPMorganChase

Easy leetcode questions. Focus on algorithm