[LeetCode] 数组的最长连续数, O(n)解法
摘要:
Longest Consecutive SequenceGiven an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4... 阅读全文
posted @ 2014-03-30 11:40 Felix Fang 阅读(2863) 评论(0) 推荐(0) 编辑