there is any special method to do that? (not code method, like method in the head)
for example, this is postorder of the tree: 1 4 3 2 5 7 8 9 6 10
how can I know how to construct the tree?
thank you.
there is any special method to do that? (not code method, like method in the head)
for example, this is postorder of the tree: 1 4 3 2 5 7 8 9 6 10
how can I know how to construct the tree?
thank you.