Question DSA-BST-0020
HardGiven only the preorder traversal of a BST with distinct keys, can the tree be reconstructed uniquely?
- A.
Only if it is balanced
- B.
No, a second traversal is always required
- C.
Sign up free to see the answer and a step-by-step explanation.