Pregunta de entrevista de Cognizant

INTRODUCTION, PUZZLES and basic programming questions