• Home
  • Search
  • An Optimal Algorithm for Untangling Binary Trees via Rotations
  • https://doi.org/10.1093/comjnl/bxr021Copy DOI Icon

An Optimal Algorithm for Untangling Binary Trees via Rotations

Show More
  • Abstract
  • Literature Map
  • Similar Papers
Abstract

There are various ways to measure the shape difference between two n-node rooted binary trees (binary trees for short). A rotation on a binary tree is a local restructuring that changes the tree into another one preserving the in-order sequence. The rotation distance between two binary trees is the minimum number of rotations needed to transform one into another. Till now, no polynomial–time algorithm exists for computing the rotation distance between any two binary trees. Recently, Lucas (Comput. J., 47, 259–269, 2004) presented an O(n2)–time algorithm for finding the rotation distance between two binary trees, where the source tree is a degenerate tree and the destination tree is an angle tree. This paper improves the time-complexity to O(n) under this constraint.

Similar Papers
  • Research Article
  • Citations1

On Rotation Distance of Rank Bounded Trees

  • May 31, 2024
  • Fundamenta Informaticae
  • S.K.M Anoop +1
  • Book Chapter
  • Citations6

K-Restricted Rotation with an Application to Search Tree Rebalancing

  • Jan 01, 2005
  • Alejandro Almeida Ruiz +3
  • Research Article
  • Citations31

Restricted rotation distance between binary trees

  • May 28, 2002
  • Information Processing Letters
  • Sean Cleary
  • Research Article
  • Citations9

Lower bounds on the rotation distance of binary trees

  • Aug 03, 2010
  • Information Processing Letters
  • Fabrizio Luccio +2
  • Research Article
  • Citations4

Imposing Constraints from the Source Tree on ITG Constraints for SMT

  • Jan 01, 2009
  • IEICE Transactions on Information and Systems
  • Hirofumi Yamamoto +2
  • Book Chapter
  • Citations6

On a sublinear time parallel construction of optimal binary search trees

  • Jan 01, 1994
  • Marek Karpinski +1
  • Research Article
  • Citations160

On subtrees of trees

  • Sep 15, 2004
  • Advances in Applied Mathematics
  • L.A Székely +1
  • Research Article
  • Citations14

On the Minimum Number of Simplex Shapes in Longest Edge Bisection Refinement of a Regular <italic>n</italic>-Simplex

  • Jan 01, 2015
  • Informatica
  • Guillermo Aparicio +4
  • Research Article
  • Citations3

Enumeration, Ranking and Generation of Binary Trees Based on Level-Order Traversal Using Catalan Cipher Vectors

  • Dec 25, 2013
  • JITA - Journal of Information Technology and Applications (Banja Luka) - APEIRON
  • Adrijan Božinovski +2
  • Book Chapter

Optimal Binary Search Trees with Costs Depending on the Access Paths

  • Jan 01, 2003
  • Jayme L Szwarcfiter
  • Research Article
  • Citations3

Generalized Huffman coding for binary trees with choosable edge lengths

  • Dec 01, 2014
  • Information Processing Letters
  • Jens Maßberg
  • Research Article
  • Citations13

Constructing a binary tree from its traversals by reversible recursion and iteration

  • Mar 13, 2019
  • Information Processing Letters
  • Robert Glück +1
  • Research Article
  • Citations112

On Rotations and the Generation of Binary Trees

  • Nov 01, 1993
  • Journal of Algorithms
  • J.M Lucas +2
  • Conference Article

Nearly Optimal Binary Index Tree in Mobile Real Time Environment

  • Aug 01, 2010
  • Hai Wu +1
  • Book Chapter
  • Citations1

Exact Algorithms for Weighted Coloring in Special Classes of Tree and Cactus Graphs

  • Jan 01, 2016
  • Robert Benkoczi +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.