
leetcode
wx738986
这个作者很懒,什么都没留下…
展开
-
leetcode_Longest Consecutive Sequence
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given [100, 4, 200, 1, 3, 2],The longest consecutive elements sequence is [1, 2,原创 2013-02-20 16:52:12 · 371 阅读 · 0 评论 -
[算法][LeetCode]Linked List Cycle & Linked List Cycle II——单链表中的环
转:http://www.cnblogs.com/hiddenfox/p/3408931.html题目要求Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up: Can you solve it without using extra space?如转载 2014-08-11 11:23:49 · 449 阅读 · 0 评论