LeetCode189.旋转数组

原题链接

1 2 3 4 5    k=3     3 4 5 1 2

5 4 3 2 1  -->  3 4 5 2 1  --> 3 4 5 1 2

题目
代码
全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务