Validate and Aggregate HTTP Access Logs

Given a list of HTTP access-log strings, parse each log, determine whether it is valid, and compute request metrics.

For a precise executable specification, each log has the following format:

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: