Ezvor

266. Palindrome Permutation

EasyHash Table Preparing judge… LeetCode
Hash TableStringBit Manipulation

Hints

Hint 1
Consider the palindromes of odd vs even length. What difference do you notice?
Hint 2
Count the frequency of each character.
Hint 3
If each character occurs even number of times, then it must be a palindrome. How about character which occurs odd number of times?