谷歌店面

given a list of friends and thier friends, find a friend who has maximum number of common friends with you or any given user.