Pregunta de entrevista de Glassbeam

pseudo code for replacing all 'a' with "the" in a string??

Respuesta de la entrevista

Anónimo

18 jul 2015

-- pseudo code to replace string contents. String replace(String orig, String old, String new) { StringBuffer sb = new StringBuffer(orig); sb.replace(old,new); return sb.toString(); }

1