DraftKings interview question

Basic algorithms questions