Lumenalta Interview Question

A fairly straightforward programming assignment.