Pregunta de entrevista de Xplor Technologies

String manipulation problem in any language