kiehl's货还没到# Fashion - 美丽时尚
y*n
1 楼
Given a string of lowercase characters, reorder them such that the same
characters are at least distance d from each other.
Input: { a, b, b }, distance = 2
Output: { b, a, b }
characters are at least distance d from each other.
Input: { a, b, b }, distance = 2
Output: { b, a, b }