Given a string s and an integer k, rearrange s such that identical characters are separated by a distance of at least k from each other.
If it is impossible to rearrange the string to satisfy this condition, return an empty string "".
Constraints:
s.length
s consists of only lowercase English letters.
k s.length
Given a string s and an integer k, rearrange s such that identical characters are separated by a distance of at least k from each other.
If it is impossible to rearrange the string to satisfy this condition, return an empty string "".
Constraints:
s.length
s consists of only lowercase English letters.
k s.length