#145

Binary Tree Postorder Traversal

newbie · 195 · lc easy +16 · 77.7% accepted · 7,763 likes · top 89%

play →

Description

Given the root of a binary tree, return its node values collected in postorder (left subtree, then right subtree, then root).

Code

1
2
3
4
5
6
7
8
9