Pergunta de entrevista da empresa DraftKings

Discount assignment question, four subtasks