Junior — Senior
Is it possible to obtain a palindrome by permuting the characters of a string
livecode
Task condition
Given a string S. You need to determine whether it is possible to rearrange its characters to form a palindrome string. The function should return true if such an arrangement exists, and false otherwise.
public boolean canFormPalindrome(String input) {
// ...
}