Dgraph Labs interview question

Write a concurrent code for map reduce.