LeetCode

Rearrange String k Distance Apart

Click here for an explanation.