Pfizer Interview Question

How can I solve difficult problem