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.
115 questions · page 3 of 3 · Clear filters
Random question- 81A ring buffer has capacity 1024 and wraps its index with a bit mask instead of a modulo.
FoundationSystems and low latencyHudson River TradingJump Trading
- 82A multicast feed delivers packets with sequence numbers 1001, 1002 and then 1005.
FoundationSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 83You sort 1,000 latency samples in ascending order.
FoundationSystems and low latencyCitadelHudson River TradingJump Trading
- 84A timestamp counter ticks at 3 GHz. How many ticks elapse in one microsecond?
FoundationSystems and low latencyHudson River TradingJump Trading
- 85An array-based book pre-allocates one slot per price tick.
FoundationSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 86Two 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
- 87Why do exchanges publish market data over UDP multicast rather than TCP?
AppliedSystems and low latencyOptiverIMC TradingHudson River Trading
- 88Traversing a linked list and traversing an array are both O(n).
AppliedSystems and low latencyOptiverHudson River TradingJump Trading
- 89Which of these is the most important thing to remove from a hot path?
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 90Five per cent of a workload is inherently serial.
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 91An L1 data cache holds 32 KB. How many float64 values fit in it?
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 92You collect one million latency samples.
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 93You keep one million live orders in a hash map at 48 bytes an entry.
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 94A loop executes 10⁸ data-dependent branches, half of them mispredicted, each…
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 95A hot loop reads only the price field of a million order records, each record…
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 96On 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
- 97Why do low-latency C++ codebases avoid virtual function calls on the hot path?
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 98What does std::move(x) do by itself?
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 99A std::vector starts with capacity 1 and doubles whenever it is full.
AppliedSystems and low latencyHudson River TradingJump Trading
- 100A system handles 10⁶ messages a second with an average time in system of 5 μs.
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 101Thread 1 locks A then B; thread 2 locks B then A.
AppliedSystems and low latencyCitadelHudson River TradingJump Trading
- 102How 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
- 103Light in optical fibre travels at about 200,000 km/s.
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 104Small order messages sent over TCP sometimes sit for tens of milliseconds…
AppliedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 105A 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
- 106Two threads each increment their own atomic counter, and throughput is far…
AdvancedSystems and low latencyOptiverHudson River TradingJump Trading
- 107What data structure best supports a limit order book that must add, cancel and…
AdvancedSystems and low latencyOptiverIMC TradingHudson River Trading
- 108Your multicast market-data feed drops a packet. What does a well-built receiver do?
AdvancedSystems and low latencyOptiverIMC TradingHudson River Trading
- 109Messages arrive at 400,000 a second and take 2 μs each to process on one thread.
AdvancedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 110A 10 Gbps link has a 50 μs round trip.
AdvancedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 111What does returning a large std::vector by value cost in modern C++?
AdvancedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 112On a two-socket server, a latency-critical thread sometimes runs noticeably slower.
AdvancedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 113What synchronisation does a single-producer, single-consumer ring buffer need…
AdvancedSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 114A producer writes data then sets a flag; a consumer reads the flag then the data.
ExpertSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading
- 115Your load generator sends the next request only after the previous response arrives.
ExpertSystems and low latencyCitadel SecuritiesHudson River TradingJump Trading