Pregunta de entrevista de BlackRock

Given two strings, return a string with characters that appear in either one string.