Pregunta de entrevista de Varsity Tutors

How would you do/explain this problem?