Ad Hoc (DC) interview question

Homework coding assignment to be completed over about a week and a half