摘要: Given a list, rotate the list to the right by k places, where k is non negative. For example: Given and , return . 题目意思就是将链表后面k个数,放到链表前面。 那么只需要一次循环就可以 阅读全文
posted @ 2017-04-08 23:16 aiterator 阅读(158) 评论(0) 推荐(0) 编辑