Question d’entretien chez Splunk

Data structures question that was equivalent to leetcode medium