Splunk interview question

System design and easy/medium LeetCode