Redfin Interview Question

data structures