In this much-requested video we’ll take a look at the AVL tree data structure, which, at the most basic level, is simply a self-balancing Binary Search Tree. As always, in the first half of the video we’ll cover some background (including the main differences between an AVL and BST), and in the second half we’ll open up our coding editor and actually implement an AVL tree class using the Python coding language.

(PYTHON 2)

► Code we start with (BST): https://github.com/bfaure/Python_Data…

► Final Code (AVL): https://github.com/bfaure/Python_Data…

(PYTHON 3)

► Code we start with (BST): https://github.com/bfaure/Python3_Dat…

► Final Code (AVL): https://github.com/bfaure/Python3_Dat…

Subscribe: https://www.youtube.com/c/BrianFaure1/featured

#python

AVL Tree: Background & Python Code
14.00 GEEK