eBay interview question

Solve a case study.