Workshop 8 - AVL Trees Flashcards
1
Q
Self balancing trees
A
Automatically keeps the height, as small as possible at all times.
Rotations happen on trees.
Rotation will change tree stturtce of tree without changing order of elements. REMAINS A BST.
2
Q
AVL trees
A
heights of left and right subtrees of root node diifer.
left and right subtrees are again AVL trees - RECURSIVE definition.
3
Q
A