The following links explain and show illustrations of the single and double rotations we discussed today:
http://209.237.84.181:7600/index.php/AVL_Trees
(Note that in this link the balance factor is computed as: right height - left height, which is the opposite of what we used in class).
http://pages.cs.wisc.edu/~paton/readings/liblitVersion/AVL-Tree-Rotations.pdf
Bittawfeeq,
http://209.237.84.181:7600/index.php/AVL_Trees
(Note that in this link the balance factor is computed as: right height - left height, which is the opposite of what we used in class).
http://pages.cs.wisc.edu/~paton/readings/liblitVersion/AVL-Tree-Rotations.pdf
Bittawfeeq,