Pergunta de entrevista da empresa Lumenalta

A fairly straightforward programming assignment.