原文:[LeetCode] 145. Binary Tree Postorder Traversal 二叉树的后序遍历

Given a binary tree, return the postorder traversal of its nodes values. For example: Given binary tree , , , , return , , . Note: Recursive solution is trivial, could you do it iteratively 经典题目,求二叉树 ...

2015-01-27 00:32 6 11821 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM