Pergunta de entrevista da empresa DraftKings

Data structure algorithm with a few parts/constraints