Pregunta de entrevista de IBM

It was Coding round, String manipulation.