Pregunta de entrevista de Cognizant

About basic programming followed by two HR rounds.