会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
排序map、pq、stack。固定 递归 贪心 开关 二分 滑动窗口(固递贪开二滑)
博客园
首页
新随笔
联系
订阅
管理
2022年10月2日
358 Rearrange String k Distance Apart 每个相同字母都要相距为k 767. Reorganize String k = 2
摘要: Given a string s and an integer k, rearrange s such that the same characters are at least distance k from each other. If it is not possible to rearran
阅读全文
posted @ 2022-10-02 05:48 苗妙苗
阅读(17)
评论(0)
推荐(0)
编辑
公告