Skip to content

Ayakhaled/Social-Network

Repository files navigation

Social-Network

Social Network

*Features:-

  1. Read (or write to) from the file
  2. Searching by the name
  3. Displaying the mutual friends between 2 persons
  4. Shortest link between 2 persons
  5. Suggested friends
  6. 2 groups

*Details:- 1.1. Register to add new person in the file 1.2. add friends

2.1. function search(user.name){ //return info<> list }

3.1. function mutualFriends(user.name1, user.name2){ //return mutualFriends<> }

4.1. function shortestPath(user.name1, user.name2){ //return names<> }

5.1. function suggestFriends(user.name x){ if(x != direct Connection) { /criteria #1 number of links <= 5/

		/*criteria #2
		if(x.company == y.company)
			return names<> */
	}
}

About

A simple Social Network.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages