DraftKings interview question

OOD problem with criteria and methods