Wayfair interview question

What algorithm will you use?