Search⌘ K
AI Features

What is an AVL Tree?

Explore what an AVL tree is and how it maintains balance by ensuring the height difference between left and right subtrees of any node is at most one. Understand why this balancing keeps operations like insertion, deletion, and search efficient compared to unbalanced binary search trees.

We'll cover the following...

Introduction

Named after inventors Adelson-Velsky and Landi in 1962, they claimed that AVL trees are “An algorithm for the organization of information.” They are Binary Search Trees such that for every internal node vv of the tree TT ...