question archive In this assignment you are required to design and implement a data structure for a social network (e

In this assignment you are required to design and implement a data structure for a social network (e

Subject:Computer SciencePrice: Bought3

In this assignment you are required to design and implement a data structure for a social network

(e.g., Facebook, LinkedIn, etc). You would also be required to implement an algorithm to show the

connection, or path, between two people (e.g., Me ! John ! Jill ! Ahmad ! Y ou).

Your program is required to have the following functionality:

It should be able to create an initial network of at least 10 people.

It should display the entire network with the connections.

It should accept the names of two people as an argument and display the path between those

two people.

It should be able to print the network at different hops with hop as an input, for e.g., a list of

all the friends who are just one step away, two steps away and so on depending on the input

value for the hop and the person in the network.

1.1 Submission

Save your source code (.py, file)

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions