Optiver Interview Prep (Graduate / SWE)

Optiver screens on two axes that most software companies do not test at all: how fast you can do arithmetic in your head, and whether you can reason about microseconds. The online assessment is reported in parts, mixing ordinary medium-difficulty coding with an approximation component where the answer is a number you estimate under time pressure rather than a program you write.

The technical rounds are reported as the opposite of trick-heavy. Several write-ups make the same point: there are no flashy algorithm traps, and every question maps onto something a live trading system actually needs. What that means in practice is that vague answers fail. “Use a hash map” is not an answer when the follow-up is about cache lines.


Interview Process

Stage Duration Focus
Online Assessment ~90 min Multi-part. Coding plus an approximation and maths component
Recruiter Screen 30 min Background, motivation, logistics
Technical Round 1 45-60 min Coding, usually C++. Clean implementation over cleverness
Technical Round 2 45-60 min Systems and low-level. Latency, memory, concurrency
Technical Round 3 45-60 min Probability, maths, and reasoning out loud
Behavioural 30-45 min Commonly two interviewers, an engineer and a recruiter

The three technical rounds are reported to run back to back on a single day. Candidate write-ups describe them as fast-paced and consecutive, which makes stamina part of what is being tested. Prepare the maths before the day, because there is no gap in which to warm up.

Reports differ on the assessment structure. Some describe two medium coding problems plus one approximation problem in ninety minutes, others describe a four-part paper separating coding, maths and approximation. Problem types reported lean towards dynamic programming and heap or priority-queue work, framed as simulation, strategy backtesting and statistical analysis rather than as abstract puzzles.

Round counts vary between write-ups from four to six stages. Some loops put coding and design in one session, others separate them.


What Optiver Actually Tests

Optiver has a small reported question pool — 7 tagged problems (2 Easy, 4 Medium, 1 Hard). That is too few to break down by percentage, but it is useful information on its own: a narrow pool means the specific problems below carry real weight, and your odds of drawing one you have already solved are much better than at a company with a two-thousand-problem list.

Work through the whole list rather than sampling it, and lean on the process and design sections on this page for the rounds the question data cannot tell you about.


System Design (HLD) Problems Asked at Optiver

# Problem Difficulty Link
1 Stock Broker and Order Flow Advanced Read →
2 Message Queue (Low Latency Bus) Advanced Read →
3 Metrics and Monitoring Intermediate Read →
4 Distributed Cache Advanced Read →
5 Key Value Store Advanced Read →
6 Leaderboard (Ranking Under Write Load) Intermediate Read →
7 Rate Limiter Beginner Read →

LLD / Machine Coding Problems Asked at Optiver

The implementation rounds reward small, allocation-aware, single-purpose objects. These are the ones whose shape matches what is reported: an order book, a bounded queue, and a cache where you can say where every byte lives.

# Problem Difficulty Link
1 Order Management (Order Book) Advanced Read →
2 Queue Management (Bounded Ring Buffer) Intermediate Read →
3 Multilevel Cache Intermediate Read →
4 Task Scheduler Advanced Read →
5 Rate Limiter Beginner Read →

DSA Problems Asked at Optiver

7 problems across 4 pattern groups. Each group is allocated in proportion to its real share of Optiver’s tagged list, then filled with the highest-frequency problems in that group — so the weight here matches the distribution above rather than burying graph and tree work under the usual array classics.

Design (Coding)

Build a data structure to a spec. Graded on API shape and the complexity of each operation, not just correctness. All 3 on the list.

# Problem Pattern Difficulty Link
1 Design Circular Queue Queue + Linked List Medium Solve →
2 Design Skiplist Linked List + Design Hard LeetCode →
3 LRU Cache Doubly Linked List + Design Medium Solve →

Dynamic Programming

State definition is the whole battle. Say the recurrence out loud before you write the table. All 2 on the list.

# Problem Pattern Difficulty Link
4 Best Time to Buy and Sell Stock DP Easy Solve →
5 Best Time to Buy and Sell Stock II Greedy + DP Medium Solve →

Strings

Parsing, transformation, and in-place edits. Clarify the character set and whitespace rules before you start. One on the list.

# Problem Pattern Difficulty Link
6 Number of Days Between Two Dates Math + String Easy LeetCode →

Arrays & Hashing

Prefix sums, counting, and grid walks. The warm-up round, and the one people get careless on. One on the list.

# Problem Pattern Difficulty Link
7 Design Order Management System Implementation Medium LeetCode →

The Approximation Component, and Why It Filters

This is the part of the Optiver screen that has no equivalent at a product company, and it is where software candidates most often fall out.

The format reported is a set of questions where the correct response is a number you estimate quickly, not a program. The skill is decomposition: break a quantity you do not know into quantities you do, multiply carefully, and keep track of orders of magnitude. Being out by a factor of two is usually survivable. Being out by a factor of a thousand is not, and neither is running out of time.

What to practice:

  1. Powers of two and ten until conversion is instant in both directions.
  2. Multiplying and dividing two and three digit numbers without writing them down.
  3. Percentages and fractional changes, especially compounding a small rate repeatedly.
  4. Fermi decomposition on quantities with no lookup available.
  5. Rough probability on dice, coins and cards, fast enough to leave time to sanity-check.

Why they test it. The job involves holding a mental model of a price and noticing when a number on a screen is wrong, under time pressure, before a system catches it. The paper is a proxy for that, and it is not a formality laid over the coding rounds.


What the Low-Latency Round Actually Probes

The systems round at a market maker is not the distributed-systems round you prepare for elsewhere. The scale is small and the latency budget is brutal, which inverts most of the usual advice.

Things that are normally good answers and are reported to land badly here:

  • “Add a cache.” Where does it live, and does the lookup cost more than the work it saves?
  • “Scale it horizontally.” Across a network hop that costs more than the entire budget?
  • “Use a queue.” Does it allocate? Does it lock? Does it touch the kernel?

Things worth being able to discuss concretely: the cost of allocation on the hot path and how to avoid it, why a bounded ring buffer beats a general-purpose queue, false sharing between cores, the cost of a lock versus an atomic versus neither, what a cache miss actually costs relative to the work it was feeding, and why a predictable slow path can beat a fast path with occasional stalls.

The useful preparation is to take something you have written and ask where the microseconds go. If you have never measured that on anything, measure it on something small before the interview.


Behavioural Round

# Question
1 Tell me about a time you were wrong about a number and caught it.
2 Describe a decision you made quickly with incomplete information.
3 Walk me through the most performance-sensitive thing you have built.
4 Tell me about a bug that only appeared under load.
5 How do you work when you are the slowest person in the room on a topic?
6 Describe a time you disagreed with a more senior engineer about a tradeoff.
7 What interests you about trading rather than product engineering?

The behavioural round is reported as commonly run by two people, an engineer and a recruiter. It is shorter and less probing than the technical rounds, but the motivation question is real: be able to say why trading infrastructure rather than product work, in terms that are not about compensation.


Tips for Optiver Interviews

  1. Practice arithmetic, not just algorithms. The approximation and mental maths component is a genuine filter and it is the one most software candidates skip entirely. Drill it on a timer until estimating under pressure stops feeling like a different skill.
  2. Answer latency questions in units. Reported systems rounds are about microseconds. Know roughly what a cache miss, a branch misprediction, a syscall and a network hop cost, and use those numbers out loud. Qualitative answers read as hand-waving here.
  3. Write C++ that shows you know where memory lives. Reports emphasise low-level engineering and clean implementation. Be deliberate about allocation, copies and layout, and be ready to justify a container choice in terms of cache behaviour rather than big-O.
  4. Expect dynamic programming and heaps, framed as simulation. Reported assessment problems lean that way, dressed as backtesting or statistical analysis rather than as textbook questions. Practice reading a wordy quantitative prompt and extracting the recurrence.
  5. Reason out loud, including the dead ends. Several reports describe the rounds as probing responsiveness and thinking rather than recall. Silence while you work is costlier here than a wrong first idea you then correct.
  6. Treat the technical day as one event. Three consecutive rounds is reported as the norm. Do your probability and systems revision beforehand, eat properly, and expect the third round to be the one where tiredness shows.

Other Company Prep


Optiver does not publish its interview loop. The process shape above is the pattern that recurs across independent candidate reports and third-party guides, and the assessment structure in particular is described differently by different sources. Confirm the sequence with your recruiter.