Wayfair interview question

Case interview, node graph, modeling