Pregunta de entrevista de GSK

How would you solve this particular problem