Pregunta de entrevista de Sony

To solve certain programming related questions!