eBay interview question

Open close principle asked repeatedly