Design a Stock Exchange
Match buy and sell orders in microseconds, in a strict and provable order, never lose a fill, and stay correct when the matching engine dies mid-trade.
4 questions on this site are reported in Robinhood software engineer interviews. Each has a full reference design (requirements, back-of-envelope numbers, components, user flows and deep dives with interviewer follow-ups). Each one can be walked through turn by turn and then sat as a mock. Patterns covered: order-book, determinism, event-sourcing, low-latency, fairness, sandboxing, job-queue, untrusted-code, contests, autoscaling, ledger, sharding, hot-keys, fraud, fintech, market-data, order-management, websockets.
Run an AI mock Robinhood interview →One of these questions, run as a live round in that style, with a debrief at the end.
Attribution comes from public interview guides and candidate reports, not from Robinhood. It indicates where a question has been asked, nothing more.
Match buy and sell orders in microseconds, in a strict and provable order, never lose a fill, and stay correct when the matching engine dies mid-trade.
Run untrusted code from strangers against hidden tests in a dozen languages, return a fair verdict in seconds, and survive 50,000 people submitting in the last minutes of a contest.
80 M users paying friends instantly: 15 M transfers a day on a sharded double-entry ledger, funded and cashed out over slow bank rails.
A retail brokerage: live prices to 3 M phones, 20 k orders a second at the open, every share and cent exact.
About an hour. Prompts are reported to be either trading-shaped, such as order entry or a stock quote service, or general infrastructure, often a distributed job scheduler.
Leaving the guarantee vague. Scheduler and order prompts are reported to turn on whether work runs at least once or at most once and what happens to it after a crash, so state the guarantee early and design for it.
From public interview guides and candidate reports, and Robinhood’s own interview guidance where it publishes any. Not endorsed by Robinhood. Formats change; treat it as a prior, not a promise.
Large-company loops run 45 to 60 minutes, expect numbers, and spend most of the time on deep dives. Walk through a question to see how a strong candidate paces the hour, sit the same question as a mock until you can produce the requirements, the estimates and the design without looking, then read the interview framework guide for how to structure the hour. The other questions on the site teach patterns that show up in Robinhood interviews under different names.
Questions reported in Robinhood system design interviews include Stock Exchange, LeetCode, Venmo and Robinhood. Between them they test order book, determinism, event sourcing, low latency, fairness and sandboxing. The reports come from public interview guides and candidate accounts, not from Robinhood, so practise the patterns rather than memorising one list.
About an hour. Prompts are reported to be either trading-shaped, such as order entry or a stock quote service, or general infrastructure, often a distributed job scheduler.
Reports say the Robinhood round weighs 3 things. 1. Execution guarantees: at-least-once or at-most-once, and how a duplicate run or order is prevented. 2. Durable state, and recovery when a worker or service fails partway through. 3. Correctness where money moves: orders, positions and payments that reconcile. Leaving the guarantee vague. Scheduler and order prompts are reported to turn on whether work runs at least once or at most once and what happens to it after a crash, so state the guarantee early and design for it.
Practise the questions reported there out loud, under a 45-minute clock: requirements with numbers first, then estimates, a high-level design, and deep dives into the two or three hardest parts. Start with Stock Exchange: watch a strong candidate answer it turn by turn, then sit it yourself. Then cover the patterns the round leans on (order book, determinism, event sourcing and low latency) with one more question each.