Meta interview question

Recursive algorithm to find popularity of a person