(definition)
Definition: To switch children and parents among two or three adjacent nodes to restore balance to a tree.
See also left rotation, right rotation, balanced tree.
Note: A rotation may change the depth of some nodes, but does not change their relative ordering.
Author: PMS
If you have suggestions, corrections, or comments, please get in touch with Paul E. Black.
Entry modified 17 December 2004.
HTML page formatted Mon Sep 11 09:46:07 2006.
Cite this as:
Paul M. Sant, "rotation", in
Dictionary of Algorithms and Data
Structures [online], Paul E. Black, ed.,
U.S. National Institute of
Standards and Technology. 17 December 2004. (accessed TODAY)
Available from: http://www.nist.gov/dads/HTML/rotation.html