Zillow interview question

The technical question is not hard.