Right-arm rotation distance between binary trees

  • Authors:
  • Jean Marcel Pallo

  • Affiliations:
  • UMR LE.2.I., Université de Bourgogne, BP 47870 F21078 Dijon Cedex, France

  • Venue:
  • Information Processing Letters
  • Year:
  • 2003

Quantified Score

Hi-index 0.89

Visualization

Abstract

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.