Splunk interview question

- typical leetcode question using sliding window. - API