Jane StreetCodingMembers
Order Matching Exchange with Buyer Rollback and Refunds
Members only
A matching-engine exercise where buyers are paired with the cheapest available offers, followed by a twist that cancels one buyer's purchases and forces the market to settle again. The interesting questions are how to undo one participant's effect and what happens to people who previously lost out.
SWE
medium
heap
hashmap
greedy
order-book
trading
snapshot
Frequency
Single report
Last asked
—
Stage
phone-screen · onsite-coding
Members get
- Full problem statement
- 3 progressive hints
- Step-by-step approach
- Full solution with code
- 4 common pitfalls
- 6 talking points
- 5 follow-up questions with answer directions
- Preparation drills
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
