YaK:: AVL trees | [Index] |
The following is a Java applet to demonstrate: http://www.seanet.com/users/arsen/avltree.html
Red Black trees are basically the same thing, but balance more efficiently. http://ciips.ee.uwa.edu.au/~morris/Year2/PLDS210/red_black.html
My code. In C.