InterviewLegend

Queues and Trade Tracking

Alex Chen40 min readUpdated 63 real interview reports

An exchange keeps resting orders in a queue at each price, and strict rules decide who goes first. Optiver's assessment borrows those rules and sets them somewhere else, where some actions send you to the back of the line and others let you keep your spot.

The other two problems sit closer to the trading desk, and one may come up in a live round. Each keeps a little state keyed by id or by slot, and each has one rule that a quick version gets wrong.

Ties decide a lot of the hidden tests. Two events can land on the same step, and the statement says who wins each time. Read those lines before you start coding.

OptiverPremium lesson · Coding round

The 3 Optiver problems are below.

  1. A Premium questionCoding · Medium · Frequently asked
  2. A Premium questionCoding · Medium
  3. A Premium questionCoding · Easy

Each with hints, the follow-up and a tested solution.

Get the Optiver questions

$49 a year · all 100 companies · cancel anytime

From 20,000+ candidate reports, forum threads behind logins and write-ups in Chinese.

Had your Optiver interview?Tell us what they asked. Reviewed before it goes in, never with your name.
Optiver interview guide

Know what Optiver asks before you walk in.

21 coding · 2 system design · 19 behavioral questions

Get Premium$49 a year · Cancel anytime
Or start freeNo card.

Get their questions first.

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.