Social Network Analysis Functions
VerifiedAdded on 2019/09/18
|2
|711
|128
Homework Assignment
AI Summary
This assignment focuses on implementing several Python functions to analyze a social network represented as a dictionary and a set of pairs. The functions include `by_n_friends` to group people by their number of friends, `suggestions` to find potential new friendships, `clique` to check if a group is a clique, `most_commons` to find the pair with the most mutual friends, `strangers` to check for complete strangers in a group, `is_cover` to check if a group covers the network, `triangles` to count triangles, and `minimal_cover` to find the smallest covering set. The provided code includes the network data and the function descriptions.
1 out of 2

