Pergunta de entrevista da empresa Tangam Systems

Write a function which, given two string arrays, returns their intersection (a list of strings in both arrays). Duplicates should be included in output.