随笔分类 -  LeetCode

摘要:LeetCode 189 Rotate an array of n elements to the right by k steps. For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7, 阅读全文
posted @ 2017-08-31 21:41 qmdt 阅读(215) 评论(0) 推荐(0)