摘要: 题目描述:(链接)Given a binary tree, flatten it to a linked list in-place.For example,Given 1 / \ 2 5 / \ \ 3 4 6The fl... 阅读全文
posted @ 2015-12-05 13:25 skycore 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 题目描述:(链接)Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which ... 阅读全文
posted @ 2015-12-05 13:02 skycore 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 题目描述:(链接)Given 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-05 12:48 skycore 阅读(125) 评论(0) 推荐(0) 编辑