Pregunta de entrevista de Cognizant

Mostly java and C++ based