Splunk Interview Question

Leetcode medium-level questions and follow up