Skip to content

AVL trees are height-balanced binary search trees.

Notifications You must be signed in to change notification settings

b1gb4dw0lf/AVLTree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AVL Tree

AVL trees are height-balanced binary search trees. This BST's nodes keep a balance factor by calculating the difference of their subtrees' heights. Height difference can no more than 1 else the tree has to rotate. Find, Insert, and Delete operation of an AVL tree takes O(log N) but deletions and insertions may require double rotations.

More Info Wiki Visualisation

Setup

About

AVL trees are height-balanced binary search trees.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages