Problem 2720 · Medium

Popularity Percentage

SQL walkthrough with an invented friendship table. Count each user friends in both directions and divide by the number of distinct users.

Open the interactive visualisation