Pergunta de entrevista da empresa Bloomberg

Q. Leetcode Medium problem. (on strings)