Skip to content

sauravsharma001-zz/mutual_friend_map_reduce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Map Reduce

Calculate mutual friends for all pairs of user

For example, Alice’s friends are Bob, Sam, Sara, Nancy Bob’s friends are Alice, Sam, Clara, Nancy Sara’s friends are Alice, Sam, Clara, Nancy

As Alice and Bob are friend and so, their mutual friend list is [Sam, Nancy] As Sara and Bob are not friend and so, their mutual friend list is empty.

Calculate top 10 user pair with most number of mutual friends

This is extension of 1st part, where to get top 10 user pair. Output Format: <User_A>, <User_B><Mutual/Common Friend Number>

Given two user, calculate list of the names and states of their mutual friends

Output format: UserA id, UserB id, list of [states] of their mutual Friends.

Calculate top 10 user with youngest friend sorted in decreasing order

Output format:
User A, 1000 Anderson blvd, Dallas, TX, minimum age of direct friends.

About

Find Mutual Friends using MapReduce Programming model

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages