摘要: linked-list-cycle-ii 题目描述 Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull. Follow up: Can you solve it w 阅读全文
posted @ 2016-08-14 13:57 RosenDing 阅读(135) 评论(0) 推荐(0) 编辑
摘要: reorder-list 题目描述 Given a singly linked list L: L0→L1→…→Ln-1→Ln, reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You must do this in-place without altering the 阅读全文
posted @ 2016-08-14 13:35 RosenDing 阅读(134) 评论(0) 推荐(0) 编辑