Splunk Interview Question

Algorithm