2015年4月26日
摘要: Given a binary tree, determine if it is height-balanced.For this problem,a height-balanced binary tree is defined asa binary tree in which the depth o... 阅读全文
posted @ 2015-04-26 21:41 黄瓜小肥皂 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, return thepostordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[3,2,1].No... 阅读全文
posted @ 2015-04-26 18:55 黄瓜小肥皂 阅读(121) 评论(0) 推荐(0) 编辑