摘要: Given a binary tree, determine if it is a valid binary search tree (BST). 阅读全文
posted @ 2013-01-27 13:17 cradle 阅读(615) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, flatten it to a linked list in-place. 阅读全文
posted @ 2013-01-27 12:48 cradle 阅读(1387) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, determine if it is height-balanced. 阅读全文
posted @ 2013-01-27 11:56 cradle 阅读(251) 评论(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 阅读(549) 评论(0) 推荐(0) 编辑