Does anybody know how to prove that if two binary trees have the same inorder and preorder traversals, then they are identical? (perhaps by showing that you can
The basic idea is how to reconstruct a binary tree by the given inorder and preorder traversals.
It's possible to reconstruct only one binary tree from the inorder and preorder traversals.
See: