摘要: Given a binary tree, determine if it is a valid binary search tree (BST). 阅读全文
posted @ 2013-01-27 13:17 cradle 阅读(622) 评论(0) 推荐(0)
摘要: Given a binary tree, flatten it to a linked list in-place. 阅读全文
posted @ 2013-01-27 12:48 cradle 阅读(1392) 评论(0) 推荐(0)
摘要: Given a binary tree, determine if it is height-balanced. 阅读全文
posted @ 2013-01-27 11:56 cradle 阅读(259) 评论(0) 推荐(0)
摘要: Find the contiguous subarray within an array (containing at least one number) which has the largest sum. 阅读全文
posted @ 2013-01-27 11:46 cradle 阅读(558) 评论(0) 推荐(0)