Pregunta de entrevista de W3 Engineers

Given two strings, output the common characters.