1- You will be given a file named hobbies.txt. a. This file contains a group of fictitious Facebook users and their hobbies. b. Each line in the file contains a user/username and a list of hobbies of that user. c. The data in each line is delimited by commas. d. For instance in the line: 2254,reading,coding,swimming,playing soccer, i. The user/username is: 2254 ii. The hobbies are: reading, coding, swimming, and playing soccer iii. The number and type of hobbies may differ from one user to another. 2- This file will be your data set that your code has to read to be able to implement a code that does the following: a. Finding circles/networks of friends: i. In each circle you will report, all the users should share at least x number of hobbies ii. x is a variable that a user can input to the program. iii. Circles of friends should be written to a file named circles.txt. iv. Each line should have the usernames in the circle/network you found, tab character, and list of shared hobbies. v. for example, a line may look like: 2254,552,1258 reading,swimming,hiking b. Finding popular users: i. Popularity is based on being part of at least y circles/networks. ii. y can be variable that a user can input to the program. iii. Popular users should be written to a file named popular.txt. Each user and how many circles/networks the user belongs to, should be in separate line and separated by the tab character. iv. For instance: 2254 5 v. This step should occur after step (a.). vi. Hint: You may want to save the circles you found in part (a.) in some data structure so that you can us them in this part.
16 frilansere byr i snitt $65 for denne jobben
Hello, I am free for next couple days and looking forward to get started with your project. I have previous experience with complex graphs and will provide a optimal program. Thanks, Rohan