← Questions

Social follow graph with point-in-time snapshots

0
OpenAIUberCodingLast asked Oct 2026

A coding interview question asked in OpenAI's agentic coding (beta) round and at Uber, last asked Oct 2026. It tests design, binary-search and versioning.

Build an in-memory follow graph that can answer questions about its own past. Follows are directed: a following b says nothing about b following a.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • OpenAI · Agentic coding (beta) · Last asked Oct 2026An existing codebase and changes too large to write by hand; you work through them with an AI coding agent · An AI coding agent is expected
  • Uber · Coding · Last asked Jun 202660 min · Two rounds; one is often object-oriented design (a parking lot, a meeting scheduler, an expression evaluator) · No AI, except a newer AI-assisted debugging round in some senior loops

What it tests

design · binary-search · versioning · hash map

Your code and the AI tutor open when you unlock this question.