Self-Balancing Trees

This is done through rotation.

Examples

AVL and Red-Black are very similar. Perhaps only in implementation Red-Black has a slight advantage.