Dgraph Labs Interview Question

Write a concurrent code for map reduce.