Pregunta de entrevista de ValueLabs

*given a programming question* explain how do you solve the problem.