Write a program that takes in input two user IDs, and determ
Download the combined Facebook dataset from: http://snap.stanford.edu/data/egonets-Facebook.html
This dataset consists of a 88234 edges and 4039 vertices. Each vertex represents a Facebook user, and each edge -- a "friend" relationship.
Write a program that takes in input two user IDs, and determines how many friends they have in common.
The output of the program should look as follows:
$ java FriendsInCommon 33 821
Users 33 and 821 have 4 friends in common.
please can anyone help me... I have no clue were to start and any help is dearly appreciated .
PS: can be done by anyone of these c , c++ , java
Thanks in advance.