[LeetCode] 358. Rearrange String k Distance Apart 按距离为k隔离重排字符串

Given a non-empty string s and an integer k, rearrange the string such that the same characters are at least distance k from each other. All input str
posted @ 2016-06-15 01:01  Grandyang  阅读(16226)  评论(3)    收藏  举报
Fork me on GitHub