Domanda di colloquio di Splunk

Data structures question that was equivalent to leetcode medium