Kindly help with the following questions
1. Suppose that we have to distribute n indistinguishable apples between k dis- tinguishable baskets. How many ways can we do that? Please explain your answer. Provide solution to the question assuming that there are more apples than baskets and no basket is empty.
2. Suppose a social network contains a number of people, each of whom has one of two “opinions” (e.g. a preference for Mac versus PC). Each person is connected with a set of “friends”, some of the other people in the network. You can choose any person in the network and let them see the opinions of their friends, and if most of the friends have the same opinion, them the chosen person will change their opinion to the one shared by the majority of their friends. If there’s an equal split, you can choose their opinion. Assuming the network is connected, can we always find a sequence of people so as to ensure that they all end up with the same opinion?