Pregunta de entrevista de Cirrus Logic

A coding question related to string manipulation.