Transwarp interview question

A entry-level MapReduce problem