letters. You may rearrange them in any order, but you cannot add or drop any.
Return True if all of these letters can be arranged into a palindrome (a string that reads the same left to right and right to left), and False otherwise.letters="tatoo" → True
These letters can form "otato", which reads the same both ways.
letters="lamp" → False
All four letters are different, so they cannot be arranged symmetrically.
letters="xxyy" → True
letters consists of lowercase English lettersletters="tatoo"
True
Run checks the first 3 tests in your browser. Submit checks all 105 tests on the server, hidden ones included.