- 博客(5)
- 收藏
- 关注
转载 LeetCode: Linked List Cycle ii 解题报告
Linked List Cycle ii Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up: Can you solve it without using extra space? SOLUTI...
2015-03-11 23:10:00 89
转载 LeetCode: Linked List Cycle解题报告
Linked List Cycle Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? SOLUTION 1: 依次将链表节点添加入已知集合,添加前检查该节点是否已经存在于已知集合中。若有,则说明链表...
2015-03-11 22:41:00 83
转载 LeetCode: Partition List解题报告
Partition List Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the original relative order of t...
2015-02-27 23:09:00 68
转载 LeetCode: Intersection of Two Linked Lists 解题报告
Intersection of Two Linked Lists Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists: A: a1 → ...
2015-02-27 17:14:00 84
转载 开通说明
在做了几天题目后,觉得有必要把做题的过程记录下来,除了自己的做法以外,还有从http://www.cnblogs.com/yuzhangcmu/处看到的思路。 感谢http://www.cnblogs.com/yuzhangcmu/ 转载于:https://www.cnblogs.com/Pseudocnblog/p/4303683.html...
2015-02-27 16:51:00 219
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人