Pregunta de entrevista de Veeva Systems

string manipulation question LC easy/medium