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

https://github.com/khaledashrafh/avl-tree

This is a C++ implementation of an AVL tree, which is a self-balancing binary search tree. An AVL tree maintains the balance factor of each node, which is the difference between the heights of its left and right subtrees. Whenever a node becomes unbalanced (its balance factor is either -2 or 2), the tree performs a rotation to restore the balance.
https://github.com/khaledashrafh/avl-tree

avl-tree avl-tree-implementation avl-tree-implementations balanced-binary-search-trees cpp scratch-implementation tree-traversal

Last synced: 8 months ago
JSON representation

This is a C++ implementation of an AVL tree, which is a self-balancing binary search tree. An AVL tree maintains the balance factor of each node, which is the difference between the heights of its left and right subtrees. Whenever a node becomes unbalanced (its balance factor is either -2 or 2), the tree performs a rotation to restore the balance.

Awesome Lists containing this project