Fulgent interview question

Mutate a given input string