eBay Interview Question

What's difference between functional and imperative programming