What are my friends buying
1) An online retailer is releasing a new feature called "What are my friends buying?". The feature lists a set of products that you have not already purchased from the things that your friends have bought, in order of most bought to least bought.
To help with this, we have the following 2 APIs. Complete the function that takes in a person and returns the items that the person's friends are buying.
2) Instead of your friends, what about your social circle? A social circle of a person is defined as the person's friends and their friends.