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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly