DraftKings Interview Question

Data structure algorithm with a few parts/constraints