DraftKings Interview Question

Write an algorithm to match customer discount ids to customer ids.