Pregunta de entrevista de Invisible Technologies

How would you solve this problem?