Social Network with Immutable Snapshots + Followers Index + Recommendations
Asked at OpenAI · Coding Questions · Difficulty: Medium · Last asked Jun 28, 2026
Build an in-memory social network where users follow each other, and where you can freeze the follow graph at a point in time. A frozen copy (a snapshot) must never change when the live network changes later. You can then ask a snapshot who follows whom and which accounts to suggest next.
Loading the problem…
More OpenAI interview questions
- Classifier Analysis
- Clean Noisy Human Labels by Scoring Annotator Reliability
- Two-Team Turn-Based Battle Simulator
- Backward Pass of a Row-Sharded MLP with all_gather
- Transformer Fundamentals: Attention, Positions and Normalization
- Debug a Mini GPT and Add a KV Cache