Pregunta de entrevista de Cognizant

programming questions based on my comfortable language