leet-code/src/main/java/leetcode/editor/cn/BinaryTreePostorderTraversal.md

15 lines
442 B
Markdown
Raw Normal View History

2021-04-09 14:49:17 +08:00
<p>给定一个二叉树,返回它的 <em>后序&nbsp;</em>遍历。</p>
<p><strong>示例:</strong></p>
<pre><strong>输入:</strong> [1,null,2,3]
1
\
2
/
3
<strong>输出:</strong> [3,2,1]</pre>
<p><strong>进阶:</strong>&nbsp;递归算法很简单,你可以通过迭代算法完成吗?</p>
<div><div>Related Topics</div><div><li></li><li></li></div></div>\n<div><li>👍 564</li><li>👎 0</li></div>