摘要: https://leetcode.com/problems/copy-list-with-random-pointer/Copy List with Random PointerA linked list is given such that each node contains an additi... 阅读全文
posted @ 2015-06-29 21:17 小榛子 阅读(103) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/partition-list/Partition ListGiven a linked list and a valuex, partition it such that all nodes less thanxcome before no... 阅读全文
posted @ 2015-06-29 19:26 小榛子 阅读(123) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/reverse-linked-list-ii/Reverse Linked List IIReverse a linked list from positionmton. Do it in-place and in one-pass.For... 阅读全文
posted @ 2015-06-29 12:57 小榛子 阅读(106) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/Remove Duplicates from Sorted List IIGiven a sorted linked list, delete all nodes ... 阅读全文
posted @ 2015-06-29 11:51 小榛子 阅读(100) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/remove-duplicates-from-sorted-list/Remove Duplicates from Sorted ListGiven a sorted linked list, delete all duplicates s... 阅读全文
posted @ 2015-06-29 10:56 小榛子 阅读(152) 评论(0) 推荐(0) 编辑
摘要: https://oj.leetcode.com/problems/rotate-list/Rotate ListGiven a list, rotate the list to the right bykplaces, wherekis non-negative.For example:Given1... 阅读全文
posted @ 2015-06-29 10:14 小榛子 阅读(166) 评论(0) 推荐(0) 编辑