摘要: 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, 3, 4]. ... 阅读全文
posted @ 2015-01-09 21:03 Acjx 阅读(292) 评论(0) 推荐(0) 编辑