Mapa mental
Binary Tree
Contenido del mapa
Binary Tree
Hierarchical data structure
- Nodes
- Root Nodes
- First/upper node
- Leaves
- Nodes without children nodes
- Object with element
- Child Node
- Root Nodes
- Root Node created
- Next element that is > root will be its right child
- Each child node will also their own right/left children following same rules
- Branching continues until leaves
- Each child node will also their own right/left children following same rules
- Next element that is < root will be left child
- Next element that is > root will be its right child
- Nodes
Used to optimize searching/retrieving data from ordered sets
- Root node is checked for element
- If root node satisfies condition
- Return root node
- If root node does not satisfy condition
- If element is greater than root node
- Check right child node for element
- Recursive delegation continues until element is found
- Check right child node for element
- If element is less than root node
- Check left child node for element
- If element is greater than root node
- If root node satisfies condition
- Root node is checked for element
Información
- Descripción
- Mapa Mental sobre Binary Tree, creado por Valeria Niebles el 10/03/2021.
- Creado por
- Valeria Niebles · mar 2021
- Actualizado
- 10 mar 2021
- Visitas
- 1
- Valoración