Systems and low latency
An array-based book pre-allocates one slot per price tick.
FoundationNumeric answer
An array-based book pre-allocates one slot per price tick. With a tick of $0.01 and a price band from $90.00 to $110.00 inclusive, how many slots are needed?
Answer with a number. Fractions, powers and expressions like 23/6 or C(52,5) are read correctly in practice.
The worked solution is in Premium
The answer, the full working and the one idea to take away – for this and all 1,322 questions in the bank. Answer it in practice and your working is marked, with a known mistake named when you make one.
Report an issue with this question
Of the kind reported at
More systems and low latency questions
- Designing an order book, part 1 of 3Foundation · Premium
- You keep one million live orders in a hash map at 48 bytes an entry.Applied · Premium
- A buy order for 500 at a limit of $100.02 meets offers of 200 at $100.00, 100…Applied · Premium
- Designing an order book, part 2 of 3Applied · Premium
- What data structure best supports a limit order book that must add, cancel and…Advanced · Premium
- Designing an order book, part 3 of 3Advanced · Premium