Social Network Friend Suggester
Citadel interview questions · Medium · Coding round · 6 tests
For each user, recommend the non-friend with the most mutual friends; ties break to the smallest user id.
The full question, tests and reference solution are available with a plan that includes Citadel.
Run your code with Ctrl+Enter to see results.