摘要: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest l 阅读全文
posted @ 2016-08-13 18:45 冰凌花花~ 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, return the inorder traversal of its nodes' values. For example:Given binary tree [1,null,2,3], return [1,3,2]. 非递归方法写二叉树的中序遍历 阅读全文
posted @ 2016-08-13 18:13 冰凌花花~ 阅读(172) 评论(0) 推荐(0) 编辑