Lexicographically Smallest Palindromic Permutation Greater Than Target
A palindrome is set by its first half, so search the arrangements of the half letters that stay above the target.
A palindrome is set by its first half, so search the arrangements of the half letters that stay above the target.