Pregunta de entrevista de Credera

Coding exam is 3 leetcode easy with 2 hours. No advanced data structures needed, maximim one loop with 0(N) solution.