摘要:
阅读全文
posted @ 2014-12-02 12:43
Phoebe815
阅读(137)
评论(0)
推荐(0)
摘要:
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 ... 阅读全文
posted @ 2014-12-02 12:06
Phoebe815
阅读(118)
评论(0)
推荐(0)
摘要:
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ... 阅读全文
posted @ 2014-12-02 07:18
Phoebe815
阅读(176)
评论(0)
推荐(0)

浙公网安备 33010602011771号