Can the pre-order traversal of two different trees be the same even though they are different?
-
05-11-2019 - |
Question
This question pretty much explains that they can, but does not show any examples of there being two different trees with the same pre-order traversal.
It is also mentioned that the in-order traversal of two different trees can be the same though they are structurally different. Is there an example of this?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with cs.stackexchange