Question d’entretien chez Splunk

Average difficulty leetcode question involving arrays.