Versioned Social Network with Snapshots
Asked at Uber · System Design for ML · Difficulty: Medium · Last asked Jun 14, 2026
Design the follow graph of a social network that supports point-in-time snapshots. Users follow one another in one direction only. At any moment you can freeze the whole graph as a snapshot, and later ask whether a given follow relationship existed in that snapshot, even if it has been removed since.
Loading the problem…