Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 510 Bytes

palindrome-permutation.md

File metadata and controls

19 lines (13 loc) · 510 Bytes

Given a string, determine if a permutation of the string could form a palindrome.

Example 1:

Input: "code"
Output: false

Example 2:

Input: "aab"
Output: true

Example 3:

Input: "carerac"
Output: true