Pregunta de entrevista de Step2gen Technologies

Problem solving question on string topic