Pergunta de entrevista da empresa DraftKings

1 large OOP question, lasted 1.5 hours