DraftKings Interview Question

What is another optimal way to run this class?