ยง
Rotation distance as a metric on binary trees
Define the rotation distance to be min. number of rotations to get from tree config. A to tree config. B
Ref: wiki