Pregunta de entrevista de Fidelity Investments

Some string related coding task