This repository offers a robust implementation of an AVL tree (balanced binary search tree) in Python, encapsulated within the Node and Tree classes. It includes methods for building the tree (build_tree()), inserting nodes (insert()), and deleting nodes (delete()). The implementation ensures that the tree remains balanced, optimizing performance.
python tree avl-tree algorithms data-structures binary-search-tree delete insert tree-traversal tree-construction balanced-binary-search-tree tree-rebalancing
- Updated
Dec 22, 2024 - Python