Wayfair interview question

How to optimize search engines?