Given two strings s and target of equal length, return the lexicographically smallest palindromic permutation of s that is strictly greater than target. If no such palindromic permutation exists, return an empty string "".
A string is called a palindrome if it reads the same forward and backward.
Constraints:
n s.length target.length
s and target consist of only lowercase English letters.
Given two strings s and target of equal length, return the lexicographically smallest palindromic permutation of s that is strictly greater than target. If no such palindromic permutation exists, return an empty string "".
A string is called a palindrome if it reads the same forward and backward.
Constraints:
n s.length target.length
s and target consist of only lowercase English letters.