Veeva Systems Interview Question

string manipulation question LC easy/medium