Morgan Stanley Interview Question

MapReduce flow