Data structures & algorithmsLesson 2 of 4 in the course Trees and hashing
AVL Trees: Balance, Rotations, Updates, and Set Operations
5 flashcards · 5 quiz questions · 5 match pairs · 5 fill-in sentences · English
Lesson progress
0 / 5
Your progress is kept in this browser only.Sign up to save it
Summary
An AVL tree is a self-balancing binary search tree (BST). Like any BST, it stores keys so that keys in a node’s left subtree are smaller and keys in its right subtree are larger, according to the chosen key ordering. The AVL rule adds a height condition: at every node, the heights of its two child subtrees may differ by at most one.
The structure is named after Georgy Adelson-Velsky and Evgenii Landis, who described it in 1962. It was the first self-balancing BST data structure.
All flashcards
Quiz questions
Based on the Wikipedia article AVL tree, licensed CC BY-SA 4.0. Adapted into a summary, flashcards and quizzes.
More in Data structures & algorithms
All Data structures & algorithms lessonsData structures & algorithmsBinary Heaps: Ordering, Array Operations, and Applications5 flashcards · 5 quiz questions · 4 gamesPlay free →Data structures & algorithmsBinary Search Trees: Ordering, Operations, Height, and Uses5 flashcards · 5 quiz questions · 4 gamesPlay free →Data structures & algorithmsMerge Sort: Algorithms, Complexity, Variants, and Applications5 flashcards · 5 quiz questions · 4 gamesPlay free →Data structures & algorithmsTrie Structure, Operations, Compression, and Applications5 flashcards · 5 quiz questions · 4 gamesPlay free →Data structures & algorithmsSorting Algorithms: Correctness, Stability, Methods, and Trade-offs5 flashcards · 5 quiz questions · 4 gamesPlay free →