DraftKings interview question

Modified algo question (with OOP objects)