eBay interview question

What's difference between functional and imperative programming