DraftKings Interview Question

algorithm and data structure question