摘要:
Symmetric TreeGiven a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric... 阅读全文
posted @ 2015-12-31 18:26
`Liok
阅读(528)
评论(0)
推荐(0)
摘要:
Balanced Binary TreeGiven a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tre... 阅读全文
posted @ 2015-12-31 17:27
`Liok
阅读(539)
评论(0)
推荐(0)
摘要:
Wiggle Sort IIGiven an unsorted arraynums, reorder it such thatnums[0] nums[2] < nums[3]....Example:(1) Givennums = [1, 5, 1, 1, 6, 4], one possible ... 阅读全文
posted @ 2015-12-31 14:33
`Liok
阅读(670)
评论(0)
推荐(0)

浙公网安备 33010602011771号