Pergunta de entrevista da empresa Hummingbird Web Solutions

Diff two array, replace the word