Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tiwarishashwat/InterviewCodes
/ postorderTraversal
Method
postorderTraversal
TreePostorder.java:9–13 ·
view source on GitHub ↗
(TreeNode root)
Source
from the content-addressed store, hash-verified
7
list.add(node.val);
8
}
9
public
List<Integer> postorderTraversal(TreeNode root) {
10
List<Integer> list =
new
ArrayList<Integer>();
11
postorder(root,list);
12
return
list;
13
}
14
}
Callers
nothing calls this directly
Calls
1
postorder
Method · 0.95
Tested by
no test coverage detected