阅读背景:

02-线性结构3 Reversing Linked List (25分)

来源:互联网 
02-线性结构3 Reversing Linked List   (25分)
Given a constant KK and a singly linked list LL, you are supposed to reverse the links of every KK elements on LL. For example, given LL being 1→2→3→4→5→6, if K = 3K=3, then you must output 3→2→1→6→5→4; if K = 4K=4, you must output 4→3→2→1→5→6.Given a co


你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: