The first-round Jane Street SWE internship interview was an LLD-style design problem centered on building a cross-exchange stock arbitrage system.
The discussion started with modeling exchanges, instruments, quotes, and order execution, then moved into detecting price discrepancies across venues. The major follow-up focused on maintaining very low latency when the system receives roughly one million market-data updates per second.
Interview Details
LLD — Cross-Exchange Arbitrage System
Assume there are multiple securities exchanges, each continuously publishing market-data updates for different instruments. Each quote contains information such as:
The task was to design a system that consumes these feeds and detects situations where the same instrument can be bought on one exchange for less than it can simultaneously be sold on another.
For example:
Exchange North
XYZ: Bid $42.20 / Ask $42.35
Exchange South
XYZ: Bid $42.05 / Ask $42.15
Exchange North
XYZ: Bid $42.20 / Ask $42.35
Exchange South
XYZ: Bid $42.05 / Ask $42.15
Since the best bid on Exchange North is higher than the best ask on Exchange
Unlock Full Details
Create a free account to unlock this interview experience report.