Mapa mental
AVL Tree
Conteúdo do mapa
AVL Tree
Introduction
- Self balanced binary search tree
- Balance factor of every node is either +1,0,-1
- Balance factor=height of left subtree -height of right subtree
Application
- Insertion: Insert new element into tree, check the balance factor, perform the suitable rotation
- In all these cases, u will end up removing a leaf
- Searching
- Traversing
- Deletion
Rotation
- Single Rotation
- Left Rotation: Every node moves to one position left
- Right Rotation: Every node moves to one position right
- Double Rotation
- Left-Right Rotation: One single left rotation followed by one single right rotation
- Right-Left Rotation: One single right rotation followed by a single left rotation
- Single Rotation
Informações
- Descrição
- Mapa Mental sobre AVL Tree, criado por Mitali Maurya em 08-12-2021.
- Criado por
- Mitali Maurya
- Visualizações
- 1
- Avaliação