Starter codebase exposes a User class with friends and valid_recommend helpers. Three sub-tasks build from logic-bug fix to AI-assisted random recommender to mutual-friends Top-K ranking. Q1 — Logic-bug fix in valid_recommend Typical bug: the function does not exclude the user themselves and/or existing friends from candidates. Q2 — Implement random_recommend Pick a random non-friend user. Prompt the AI with the class signature so the output matches the existing interface. Q3 — Top-K mutual-friends recommendation Score each candidate by |friends(u) ∩ friends(candidate)|; return the
HeapSeek lists 68 Meta interview questions reported by candidates: 42 coding, 16 system design, 8 AI-assisted Coding and 2 behavioral. They come from online assessments, phone screens and onsite rounds for SWE, MLE, RS, DS and RE roles, most recently in November 2026. The topics that come up most are string, array, DFS, hashmap, ai coding and mlsd. Each question has its problem statement, follow-ups, hints and a worked solution for members.