摘要: Reverse a linked list from position m to n. Do it in one-pass. Note: 1 ≤ m ≤ n ≤ length of list. Example: Input: 1->2->3->4->5->NULL, m = 2, n = 4 Out 阅读全文
posted @ 2015-03-01 09:17 Grandyang 阅读(21323) 评论(11) 推荐(1) 编辑
Fork me on GitHub