会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
habibah_chang
博客园
首页
新随笔
联系
管理
订阅
2020年5月27日
950. Reveal Cards In Increasing Order
摘要: 问题: 给一组数组,对其进行一个排序得到新的数组res,使得对res做一下操作最后得到target为一个递增数组。 1.取第一个数,到target数组。 2.把剩下的第一个数,排到原数组res最后。 3.重复1和2,直到原数组res为空。 Example 1: Input: [17,13,11,2,
阅读全文
posted @ 2020-05-27 11:23 habibah_chang
阅读(84)
评论(0)
推荐(0)
编辑
公告