July 4th Sale
Limited Time Deal: Unlock all premium questions for over 40% off
$10.42$6.25
10
:
09
:
29
:
57
Back to Dashboard
Order Matching Engine
Hard
You are managing a cryptocurrency order book. The book holds buy and sell orders placed by traders.
- A buy order indicates the maximum price a buyer is willing to pay. When a new buy order arrives, it matches the lowest available sell order if that sell price is at or below the buy price. ...