Pergunta de entrevista da empresa W3 Engineers

Given two strings, output the common characters.