DraftKings Interview Question

just coding exercise