2014年6月18日

单链表反转的2种常见方法

摘要: 移步看单链表反转总结篇 阅读全文

posted @ 2014-06-18 14:59 BYRHuangQiang 阅读(146) 评论(0) 推荐(0) 编辑

LeetCode解题报告:Reorder List

摘要: Reorder ListGiven a singly linked listL: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 nodes' val... 阅读全文

posted @ 2014-06-18 14:41 BYRHuangQiang 阅读(227) 评论(0) 推荐(0) 编辑

导航