InterviewDB Question · Paris

Real-time Order Book Stream Comparison: Detect Discrepancies Between Two Feed Sources

Question Details

Problem You receive order book updates from two market data feeds (Feed A and Feed B) for the same instrument. Each update is (timestamp, side, price, quantity). Implement a comparator that detects discrepancies: same-timestamp updates where the two feeds disagree on price levels or quantities. Example Follow-ups Feed B often lags by 20-100ms — how do you match updates across feeds with timing skew? What ring-buffer or sliding-window data structure best supports this real-time comparison? How do…

Full Details

🔒

Unlock all Jane Street questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a reported interview question from a jane street interview during the phone round.

It covers the following topics: Sliding Window, Coding, Phone, Onsite .