Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

heip in python

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)

Show more
Files: quest.pdf
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question