摘要:
Reverse Linked List II2013.12.31 16:00Reverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 2 andn= 4,return1->4->3->2->5->NULL.Note:Givenm,nsatisfy the following condition:1 ≤m≤n≤ length of list.Solution1: Rever 阅读全文
posted @ 2013-12-31 16:37
zhuli19901106
阅读(207)
评论(0)
推荐(0)


浙公网安备 33010602011771号