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.
1,322 questions · page 33 of 34
Random question- 1281Per-thread counters, part 1 of 3
FoundationSystems and low latency
- 1282A busy matching engine, part 2 of 3
AppliedSystems and low latency
- 1283Two 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
- 1284Why do exchanges publish market data over UDP multicast rather than TCP?
AppliedSystems and low latencyOptiverIMC TradingHudson River Trading
- 1285Traversing a linked list and traversing an array are both O(n).
AppliedSystems and low latencyOptiverHudson River TradingJump Trading
- 1286Which of these is the most important thing to remove from a hot path?
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1287Five per cent of a workload is inherently serial.
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1288An L1 data cache holds 32 KB. How many float64 values fit in it?
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1289You collect one million latency samples.
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1290You keep one million live orders in a hash map at 48 bytes an entry.
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1291A loop executes 10⁸ data-dependent branches, half of them mispredicted, each…
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1292A hot loop reads only the price field of a million order records, each record…
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1293On 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
- 1294Why do low-latency C++ codebases avoid virtual function calls on the hot path?
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1295What does std::move(x) do by itself?
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1296A std::vector starts with capacity 1 and doubles whenever it is full.
AppliedSystems and low latencyHudson River TradingJump Trading
- 1297A system handles 10⁶ messages a second with an average time in system of 5 μs.
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1298Thread 1 locks A then B; thread 2 locks B then A.
AppliedSystems and low latencyCitadelHudson River TradingJump Trading
- 1299How 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
- 1300Light in optical fibre travels at about 200,000 km/s.
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1301Small order messages sent over TCP sometimes sit for tens of milliseconds…
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1302A 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
- 1303Designing an order book, part 2 of 3
AppliedSystems and low latency
- 1304A burst on the feed, part 2 of 4
AppliedSystems and low latency
- 1305Walking a matrix through the cache, part 2 of 3
AppliedSystems and low latency
- 1306Per-thread counters, part 2 of 3
AppliedSystems and low latency
- 1307A busy matching engine, part 3 of 3
AdvancedSystems and low latency
- 1308Two threads each increment their own atomic counter, and throughput is far…
AdvancedSystems and low latencyOptiverHudson River TradingJump Trading
- 1309What data structure best supports a limit order book that must add, cancel and…
AdvancedSystems and low latencyOptiverIMC TradingHudson River Trading
- 1310Your multicast market-data feed drops a packet. What does a well-built receiver do?
AdvancedSystems and low latencyOptiverIMC TradingHudson River Trading
- 1311Messages arrive at 400,000 a second and take 2 μs each to process on one thread.
AdvancedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1312A 10 Gbps link has a 50 μs round trip.
AdvancedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1313What does returning a large std::vector by value cost in modern C++?
AdvancedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1314On a two-socket server, a latency-critical thread sometimes runs noticeably slower.
AdvancedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1315What synchronisation does a single-producer, single-consumer ring buffer need…
AdvancedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 1316Designing an order book, part 3 of 3
AdvancedSystems and low latency
- 1317A burst on the feed, part 3 of 4
AdvancedSystems and low latency
- 1318A burst on the feed, part 4 of 4
AdvancedSystems and low latency
- 1319Walking a matrix through the cache, part 3 of 3
AdvancedSystems and low latency
- 1320Per-thread counters, part 3 of 3
AdvancedSystems and low latency