I am working on this project where I am required to find the theoretical proof for following.
I have a particular type of binary trees, where
1) each internal node will definitely have two children.
2) There are n leaf nodes and can be assumed in order 1 to n from left most to right most.
Now this is clear that there would be exponential number of such possible trees which have theses two properties.
If I start from any random tree and randomly sample one of the internal node perform one of the two operations Left Rotate or Right Rotate (https://en.wikipedia.org/wiki/Tree_rotation), randomly. Is it possible to start from any random to tree to any other tree in the search space.
I have tried various resources but couldn't find any proof for it. I have tried it myself but not able to reach to a solution. I'd be glad if someone can help me out here.