Wayfair Interview Question

Simple hashmap, hashset type of problem.