Pregunta de entrevista de Pfizer

How can I solve difficult problem