6533b853fe1ef96bd12ad46a

RESEARCH PRODUCT

Right-arm rotation distance between binary trees

Jean Marcel Pallo

subject

Tree rotationBinary treeData_MISCELLANEOUSWeight-balanced treeRandom binary treeComputer Science ApplicationsTheoretical Computer ScienceCombinatoricsBinary search treeGeometry of binary search treesSignal ProcessingTernary search treeRotation (mathematics)Information SystemsMathematics

description

We consider a transformation on binary trees, named right-arm rotation, which is a special instance of the well-known rotation transformation. Only rotations at nodes of the right arm of the trees are allowed. Using ordinal tools, we give an efficient algorithm for computing the right-arm rotation distance between two binary trees, i.e., the minimum number of rightarm rotations necessary to transform one tree into the other.

https://doi.org/10.1016/s0020-0190(03)00283-7