Pergunta de entrevista da empresa Cognizant

How would you solve problem