摘要: class Solution { public void rotate(int[] nums, int k) { int len=nums.length; int res[]=new int[len]; for(int i=0;i<len;i++){ int index=(i+k)%len; res 阅读全文
posted @ 2021-07-22 11:57 萍2樱释 阅读(25) 评论(0) 推荐(0) 编辑