Pregunta de entrevista de Meta

Recursive algorithm to find popularity of a person