DraftKings interview question

A long-form technical coding question.