eBay interview question

Sorting, simple algorithms, text parsing on the same problem getting progressively harder