Wayfair Interview Question

What algorithm will you use?