Pregunta de entrevista de Cognizant

It was an average interview difficulty.