Design friends of friends feature in Facebook
Filed under SAP
The question
Explain the architecture and data structures needed to implement the friends-of-friends recommendation/retrieval feature in Facebook.
No write-up yet. Related questions below have one.
Related SAP questions
Collected from public candidate posts and coding forums. Updated Nov 2026.