0266. Palindrome Permutation
https://leetcode.com/problems/palindrome-permutation
Description
Given a string s, return true if a permutation of the string could form a palindrome.
Example 1:
**Input:** s = "code"
**Output:** falseExample 2:
**Input:** s = "aab"
**Output:** trueExample 3:
**Input:** s = "carerac"
**Output:** trueConstraints:
1 <= s.length <= 5000sconsists of only lowercase English letters.
ac
Last updated
Was this helpful?