leetcode 61. Rotate List
C语言版本
题目:
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->3->NULL.
大意是指让你将该链表循环右移k位。
原创
2016-01-21 20:35:01 ·
239 阅读 ·
0 评论