原文:[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