SOTI interview question

Determine if two strings are permutations.