Question: Design the map and reduce functions to obtain a list of common friends for each pair of friends. That is , for each two people
Design the map and reduce functions to obtain a list of common friends for each pair of friends. That isfor each two people that are friends assuming friendship is bidirectionalyou need to find the friends in common. As input, you receive a file that contains a list of friends for each person. Using map and reduce functions, you should find for each pair of friends, the list of common friends
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
