Capital One interview question

Write pseudocode for map reduce