Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.
Design SQL · Design Spreadsheet · Largest Local Values in a Matrix · Find Duplicate File in System · GPU credit ledger with expiring grants · Resumable iterator with pause and resume · Serialize and deserialize a key-value store with arbitrary characters · Versioned social graph queried at a timestamp · Durable segmented key-value store · Durable work queue with task dependencies · Dependency version checker for package constraints · Aggregate statistics over a machine topology tree · Rate limiter with global and per-user limits · Iterator over IPv4 addresses in a CIDR range · Count chat events in a recent time window · Text editor with undo and redo · Skip list from scratch · Poker hand winner simulation · Elevator scheduling simulation · Find and fix a race condition in concurrent code · Speed up a quadratic log parser
Questions people ask
What coding questions does OpenAI ask most?
Time Based Key-Value Store, Design Memory Allocator, Encode and Decode Strings, Flatten Nested List Iterator, Simplify Path, Web Crawler Multithreaded, Design Excel Sum Formula, IP to CIDR.
Which topics come up in OpenAI coding rounds?
design data structure, hash maps, strings, graphs, iterators, concurrency.
How hard are OpenAI coding questions?
Of the reported questions, 0 are easy, 19 medium and 3 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.