Pregunta de entrevista de Cognizant

How to read a programming question?