Pregunta de entrevista de BenchSci

LC medium string manipulation algorithm question