2017年5月7日

Leetcode 61 -- Rotate List

摘要: Given a list, rotate the list to the right by k places, where k is non-negative. For example: Given 1->2->3->4->5->NULL and k = 2, return 4->5->1->2-> 阅读全文

posted @ 2017-05-07 22:59 linxiong1991 阅读(111) 评论(0) 推荐(0) 编辑

导航