An open API service indexing awesome lists of open source software.

https://github.com/neuodev/avl-trees

In this Repo, I Built an AVL Tree that can balance itself to avoid right or left skewing and to be more efficient. Implementing Right(RR) , Left(LL), Right Left (RL), Left-Right (LR) Rotations
https://github.com/neuodev/avl-trees

Last synced: about 1 month ago
JSON representation

In this Repo, I Built an AVL Tree that can balance itself to avoid right or left skewing and to be more efficient. Implementing Right(RR) , Left(LL), Right Left (RL), Left-Right (LR) Rotations

Awesome Lists containing this project

README

          

#### AVLTrees
In this Repo I Built an AVL Tree that can balance it self to avoid right or left skewing and to be more efficient

Implementing Right(RR) , Left(LL), Right Left (RL), Left Right (LR) Rotations

### Types of Rotations
![AVLTree](https://github.com/AhmedIbrahim336/AVLTrees/blob/master/avl-tree-2.png)
### To say that the tree is balanced it's height must be less that or equal 1
![AVLTree](https://github.com/AhmedIbrahim336/AVLTrees/blob/master/avl-tree-1.png)