Pregunta de entrevista de Bonito Designs

How did you breakdown this problem?