Available question text
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.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Google
Leetcode 1917. Leetcodify Friends Recommendations
Reported Aug 23, 2026 · 1 source report
SENIOR
Source snapshot: Nov 12, 2026
View source