Pregunta de entrevista de Motorola Solutions

Asked a few string manipulation problems