Domanda di colloquio di American Express

Given two strings, check if they have the same characters.