The below is an excerpt from geeksforgeeks
If the given Binary Tree is Binary Search Tree, we can store it by either storing preorder or postorder traversal. In case of Binary Search Trees, only preorder or postorder traversal is sufficient to store structure information.
Questions
- Is it not possible to use in-order traversal for serialization and deserialization of Binary Trees?. if so why?
- what is the distinction between Binary Tree and BST serialization?. the above statement is not clear about this distinction
Node.Left <= Node <= Node.Right. - Ondrej Tucny