Pregunta de entrevista de Dawson Spencer

How would you solve this issue?