Leetcode 1917. Leetcodify Friends Recommendations
Given a large social graph, compute for each user the top-k recommended new friends (excluding existing connections) ranked by mutual-friend or interaction-based score; the challenge is to efficiently count and rank candidate neighbors at scale using graph traversal, neighbor intersection/counting, and optimized top-k selection under tight time/memory constraints.
Asked at:
Google
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Late August, 2026
Senior
Hello Interview Premium
Your account is free and you can post anonymously if you choose.