DraftKings interview question

Use a java structure to complete a set of problems