Interview questions
1,322 questions in the style trading and research firms ask, from probability and brainteasers to options, statistics and coding. Every question is open to read, with its hints. The 50 in the free sample can be answered and marked on the spot, no account needed; open 3 of their worked solutions to try, then all of them with a free account.
56 questions · page 1 of 2 · Clear filters
Random question- 01A busy matching engine, part 1 of 3
FoundationSystems and low latency
- 02An L1 cache reference costs about 1 ns and a main-memory reference about 100 ns.
FoundationSystems and low latencyCitadel SecuritiesHudson River TradingJump TradingFree solution
- 03AVX-512 registers are 512 bits wide. How many float64 values does one hold?
FoundationSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 04A cache line is 64 bytes. How many 32-bit integers fit in one?
FoundationSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 05A single scan reads 1 GB from main memory at a sustained 20 GB/s.
FoundationSystems and low latencyCitadelHudson River TradingJump Trading
- 06A ring buffer has capacity 1024 and wraps its index with a bit mask instead of a modulo.
FoundationSystems and low latencyHudson River TradingJump Trading
- 07A multicast feed delivers packets with sequence numbers 1001, 1002 and then 1005.
FoundationSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 08You sort 1,000 latency samples in ascending order.
FoundationSystems and low latencyCitadelHudson River TradingJump Trading
- 09A timestamp counter ticks at 3 GHz. How many ticks elapse in one microsecond?
FoundationSystems and low latencyHudson River TradingJump Trading
- 10An array-based book pre-allocates one slot per price tick.
FoundationSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 11You join a price level behind 800 shares.
FoundationSystems and low latencyOptiverCitadel SecuritiesHudson River Trading
- 12Designing an order book, part 1 of 3
FoundationSystems and low latency
- 13A burst on the feed, part 1 of 4
FoundationSystems and low latency
- 14Walking a matrix through the cache, part 1 of 3
FoundationSystems and low latency
- 15Per-thread counters, part 1 of 3
FoundationSystems and low latency
- 16A busy matching engine, part 2 of 3
AppliedSystems and low latency
- 17Two systems: one has a mean of 2 μs and a p99.9 of 2 ms, the other a mean of 5…
AppliedSystems and low latencyOptiverCitadel SecuritiesHudson River TradingFree solution
- 18Why do exchanges publish market data over UDP multicast rather than TCP?
AppliedSystems and low latencyOptiverIMC TradingHudson River Trading
- 19Traversing a linked list and traversing an array are both O(n).
AppliedSystems and low latencyOptiverHudson River TradingJump Trading
- 20Which of these is the most important thing to remove from a hot path?
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 21Five per cent of a workload is inherently serial.
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 22An L1 data cache holds 32 KB. How many float64 values fit in it?
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 23You collect one million latency samples.
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 24You keep one million live orders in a hash map at 48 bytes an entry.
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 25A loop executes 10⁸ data-dependent branches, half of them mispredicted, each…
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 26A hot loop reads only the price field of a million order records, each record…
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 27On a typical 64-bit platform, what is sizeof of struct { char a; int32_t b; char c; }?
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 28Why do low-latency C++ codebases avoid virtual function calls on the hot path?
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 29What does std::move(x) do by itself?
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 30A std::vector starts with capacity 1 and doubles whenever it is full.
AppliedSystems and low latencyHudson River TradingJump Trading
- 31A system handles 10⁶ messages a second with an average time in system of 5 μs.
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 32Thread 1 locks A then B; thread 2 locks B then A.
AppliedSystems and low latencyCitadelHudson River TradingJump Trading
- 33How long does it take to serialise a 1,500-byte packet onto a 10 Gbps link, in…
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 34Light in optical fibre travels at about 200,000 km/s.
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 35Small order messages sent over TCP sometimes sit for tens of milliseconds…
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 36A buy order for 500 at a limit of $100.02 meets offers of 200 at $100.00, 100…
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 37Designing an order book, part 2 of 3
AppliedSystems and low latency
- 38A burst on the feed, part 2 of 4
AppliedSystems and low latency
- 39Walking a matrix through the cache, part 2 of 3
AppliedSystems and low latency
- 40Per-thread counters, part 2 of 3
AppliedSystems and low latency