Pregunta de entrevista de Deutsche Telekom

write a code to replace a character in given string