Pregunta de entrevista de Monoceros

Don't remember, two easy programming tasks