会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
mrpod2g
--Coding is my passion
首页
管理
2015年2月26日
Rotate Array
摘要: Rotate an array ofnelements to the right byksteps.For example, withn= 7 andk= 3, the array[1,2,3,4,5,6,7]is rotated to[5,6,7,1,2,3,4].空间复杂度为O(1):publi...
阅读全文
posted @ 2015-02-26 13:40 mrpod2g
阅读(81)
评论(0)
推荐(0)
公告