Pergunta de entrevista da empresa Kik

Coding challenge was string manipulation, fairly easy.