摘要: 题目描述: Given a list, rotate the list to the right by k places, where k is non-negative. Example: 解题思路: 这题如果用递归的话可以只需要遍历一遍就可以得到从右数的节点。但是题目给的k会大于n,还是要得到遍 阅读全文
posted @ 2018-03-07 18:32 宵夜在哪 阅读(136) 评论(0) 推荐(0) 编辑