1. AVL trees #

Created Wednesday 12 February 2020

Intro #

Why AVL trees #

What is ‘balance’ #

What is ‘imbalance’ #

If atleast one node with a balance factor of 2 or -2 exists, then the tree is said to ‘not balanced’.

How to re-balance #

Insertion #

Deletion #

Important facts about rebalancing:

Reference

Proof of AVL operations #

Note

To prove - Make sure that insertions/deletions and the rebalance maintains balance. **Proof **- ./avl_proof.jpg