Meta Interview Question

Recursive algorithm to find popularity of a person