Global Information Lookup Global Information

AVL tree information


AVL tree
TypeTree
Invented1962
Invented byGeorgy Adelson-Velsky and Evgenii Landis
Complexities in big O notation
Space complexity
Space
Time complexity
Function Amortized Worst Case
Search [1] [1]
Insert [1] [1]
Delete [1] [1]
Animation showing the insertion of several elements into an AVL tree. It includes left, right, left-right and right-left rotations.
Fig. 1: AVL tree with balance factors (green)

In computer science, an AVL tree (named after inventors Adelson-Velsky and Landis) is a self-balancing binary search tree. In an AVL tree, the heights of the two child subtrees of any node differ by at most one; if at any time they differ by more than one, rebalancing is done to restore this property. Lookup, insertion, and deletion all take O(log n) time in both the average and worst cases, where is the number of nodes in the tree prior to the operation. Insertions and deletions may require the tree to be rebalanced by one or more tree rotations.

The AVL tree is named after its two Soviet inventors, Georgy Adelson-Velsky and Evgenii Landis, who published it in their 1962 paper "An algorithm for the organization of information".[2] It is the oldest self-balancing binary search tree data structure to be invented.[3]

AVL trees are often compared with red–black trees because both support the same set of operations and take time for the basic operations. For lookup-intensive applications, AVL trees are faster than red–black trees because they are more strictly balanced.[4] Similar to red–black trees, AVL trees are height-balanced. Both are, in general, neither weight-balanced nor -balanced for any ;[5] that is, sibling nodes can have hugely differing numbers of descendants.

  1. ^ a b c d e f Eric Alexander. "AVL Trees". Archived from the original on July 31, 2019.
  2. ^ Adelson-Velsky, Georgy; Landis, Evgenii (1962). "An algorithm for the organization of information". Proceedings of the USSR Academy of Sciences (in Russian). 146: 263–266. English translation by Myron J. Ricci in Soviet Mathematics - Doklady, 3:1259–1263, 1962.
  3. ^ Sedgewick, Robert (1983). "Balanced Trees". Algorithms. Addison-Wesley. p. 199. ISBN 0-201-06672-6.
  4. ^ Pfaff, Ben (June 2004). "Performance Analysis of BSTs in System Software" (PDF). Stanford University.
  5. ^ AVL trees are not weight-balanced? (meaning: AVL trees are not μ-balanced?)
    Thereby: A Binary Tree is called -balanced, with , if for every node , the inequality
    holds and is minimal with this property. is the number of nodes below the tree with as root (including the root) and is the left child node of .

and 22 Related for: AVL tree information

Request time (Page generated in 0.99 seconds.)

AVL tree

Last Update:

computer science, an AVL tree (named after inventors Adelson-Velsky and Landis) is a self-balancing binary search tree. In an AVL tree, the heights of the...

Word Count : 4322

Binary search tree

Last Update:

trees were introduced to confine the tree height, such as AVL trees, Treaps, and red–black trees. The AVL tree was invented by Georgy Adelson-Velsky...

Word Count : 3096

WAVL tree

Last Update:

a WAVL tree or weak AVL tree is a self-balancing binary search tree. WAVL trees are named after AVL trees, another type of balanced search tree, and are...

Word Count : 3354

AVL

Last Update:

Volume Limiter, limits the volume of a device such as an MP3 or CD player AVL tree, a data structure named after inventors Adelson-Velsky and Landis that...

Word Count : 150

Tree rotation

Last Update:

rotation at X. Tree rotations are used in a number of tree data structures such as AVL trees, red–black trees, WAVL trees, splay trees, and treaps. They...

Word Count : 1443

Tree structure

Last Update:

Computer science: binary search tree red–black tree AVL tree R-tree doubly logarithmic tree Biology: evolutionary tree Business: pyramid selling scheme...

Word Count : 968

Binary tree

Last Update:

complete binary tree this way versus each node having pointer(s) to its sibling(s). 2–3 tree 2–3–4 tree AA tree Ahnentafel AVL tree B-tree Binary space partitioning...

Word Count : 5125

Fibonacci sequence

Last Update:

"thinnest" AVL tree. These trees have a number of vertices that is a Fibonacci number minus one, an important fact in the analysis of AVL trees. Fibonacci...

Word Count : 12887

Order statistic tree

Last Update:

maintain balance (e.g., tree height can be added to get an order statistic AVL tree, or a color bit to get a red–black order statistic tree). Alternatively,...

Word Count : 457

List of data structures

Last Update:

graphs. AA tree AVL tree Binary search tree Binary tree Cartesian tree Conc-tree list Left-child right-sibling binary tree Order statistic tree Pagoda Randomized...

Word Count : 911

Scapegoat tree

Last Update:

to AVL trees, in that the actual rotations depend on 'balances' of nodes, but the means of determining the balance differs greatly. Since AVL trees check...

Word Count : 1886

Associative array

Last Update:

associative array with a self-balancing binary search tree, such as an AVL tree or a red–black tree. Compared to hash tables, these structures have both...

Word Count : 2773

Splay tree

Last Update:

self-adjusting tree. Using pointer-compression techniques, it is possible to construct a succinct splay tree. AVL tree B-tree Finger tree Geometry of binary...

Word Count : 4628

Finger tree

Last Update:

Finger trees were first published in 1977 by Leonidas J. Guibas, and periodically refined since (e.g. a version using AVL trees, non-lazy finger trees, simpler...

Word Count : 2041

Interval tree

Last Update:

tagged intervals Interval Tree (C#) - an augmented interval tree, with AVL balancing Interval Tree (Ruby) - a centered interval tree, immutable, compatible...

Word Count : 3577

AA tree

Last Update:

slightly faster search times. Red–black tree B-tree AVL tree Scapegoat tree Andersson, Arne (1993). "Balanced Search Trees made Simple". WADS '93: Proceedings...

Word Count : 1624

Judy array

Last Update:

Judy arrays are highly optimized 256-ary radix trees. Judy trees are usually faster than AVL trees, B-trees, hash tables and skip lists because they are...

Word Count : 405

List of Russian scientists

Last Update:

constructed international auxiliary language Georgy Adelson-Velsky, inventor of AVL tree algorithm, developer of Kaissa, the first world computer chess champion...

Word Count : 9600

List of graph theory topics

Last Update:

Abstract syntax tree B-tree Binary tree Binary search tree Self-balancing binary search tree AVL tree Red–black tree Splay tree T-tree Binary space partitioning...

Word Count : 664

Evgenii Landis

Last Update:

type theorems. With Georgy Adelson-Velsky, he invented the AVL tree data structure (where "AVL" stands for Adelson-Velsky Landis). He died in Moscow. His...

Word Count : 141

Right rotation

Last Update:

search tree; it preserves the binary search tree property (an in-order traversal of the tree will yield the keys of the nodes in proper order). AVL trees and...

Word Count : 268

List of Russian mathematicians

Last Update:

N O P Q R S T U V W X Y Z See also Georgy Adelson-Velsky, inventor of AVL tree algorithm, developer of Kaissa, the first world computer chess champion...

Word Count : 1587

PDF Search Engine © AllGlobal.net