Nitor interview question

The differences between map and reduce functions