Single-Symbol Order Book Price Levels
Problem: Maintain Price Levels in a Single-Symbol Order Book
Implement a simplified NASDAQ market data order book for one symbol, such as AAPL.
The system receives the following callbacks:
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
