Pergunta de entrevista da empresa Google

String manipulation questions. I'd say equivalent to Leetcode 'medium' level difficulty.