Query and Log Matching
Given a series of strings, some of which start with 'Q:' indicating a query and others start with 'L:' indicating a log entry, build an index based on these queries and match them against the logs. A ...
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:
