eBay interview question

Stuff about mutating arrays