Domanda di colloquio di Netskope

Leetcode medium level question on strings.