Splunk interview question

Operations on 2 sorted arrays