Log Search with Inverted Index and Query Acceleration (Log & Query)
Asked at Datadog · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026
Given a list of log lines and a list of queries, return for each query the indices of all logs that contain every word of the query.
Loading the problem…