Domanda di colloquio di BlackRock

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