Pergunta de entrevista da empresa Microsoft

find and replace all occurences of a character buffer.