Pregunta de entrevista de Adobe

have a easy-medium string manipulation question