Pergunta de entrevista da empresa Monoceros

Don't remember, two easy programming tasks