Epitec Interview Question

Coding challenge on the first interview, one week assignment on the second.