Pergunta de entrevista da empresa Duo Security

Between two strings, find the common characters