How can we make maximum number of palindromic substrings by rearranging the characters in a string?
问题 A string is called a substring of another string, if it can be obtained from that string by dropping some (possibly zero) number of characters from the beginning and from the end of it. For example, abc , ab , and c are substrings of the string abc , while ac and d are not. Let's define a palindromic count of the string as the number of its substrings that are palindromes. For example, the palindromic count of the string aaa is 6, because all of its substrings are palindromes. And the