Pregunta de entrevista de Cognizant

Nothing is rocket science here.