摘要: https://leetcode.com/problems/linked-list-cycle-ii/Linked List Cycle IIGiven a linked list, return the node where the cycle begins. If there is no cyc... 阅读全文
posted @ 2015-07-01 11:01 小榛子 阅读(110) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/linked-list-cycle/Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up:Can you solve it wit... 阅读全文
posted @ 2015-07-01 09:48 小榛子 阅读(85) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/swap-nodes-in-pairs/Swap Nodes in PairsGiven a linked list, swap every two adjacent nodes and return its head.For exampl... 阅读全文
posted @ 2015-07-01 09:29 小榛子 阅读(104) 评论(0) 推荐(0) 编辑