Datadog interview question

Log parsing question for algorithm