Splunk Interview Question

Hackerrank type coding challenge eh