Domanda di colloquio di Splunk

Typical leetcode medium and one hard question