Social Network Problem | Algorithms
There are N people in a social network and there are friends group. Each person can be part of a friend group of a specific size. Number of people in the social network - N. Write an algorithm to create the minimum number of friend groups so that each person can be put into one of these groups as per the given group size of each person. Output: Print minimum no of groups and person assigned to each group.
Post to Tumblr