Find Leaves of Binary Tree 找二叉树的叶节点
摘要:
Given a binary tree, find all leaves and then remove those leaves. Then repeat the previous steps until the tree is empty. Example:Given binary tree 1 阅读全文
posted @ 2016-07-20 22:46 bayernmeng 阅读(209) 评论(0) 推荐(0)