Query / Log Stream Matching

Query / Log Stream Matching

Implement a real-time processor for a stream containing query messages and log messages. Process messages in their original order.

Each message is one of the following...

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: