Skip to content

benjaminbrassart/ft_containers

Repository files navigation

ft_containers

Homemade C++ containers

Important!

If you intend to test this with any existing ft_containers tester, you will have to adjust their include path.


Resources

C++

cplusplus.com cppreference.com ISO/IEC 14882

AVL Trees

AVL Trees are balanced binary search trees, which means they perform rotations to keep their nodes balanced, allowing a complexity of for search, insertion and deletion.

The algorithm consists of checking the difference of height, called balance, between the two subtrees of a node. The balance must be between 1 and -1, otherwise the tree is becoming inefficient and must be rebalanced.

Videos

AVL Trees & Rotations (Self-Balancing Binary Search Trees)

AVL Tree Explained and Implemented in Java | AVL Trees Rotations | Self-Balancing Trees | GeekificGitHub

Useful stuff

AVL Tree visualization

Wikipedia article

avl insert

Source: manuvai/AVL

Crappy AVL implementation in C

Complexity / Big O notation

What it is

Factorial complexity

About

Homemade C++ containers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published