Mapa mental
Binary Tree
Contenido del mapa
Binary Tree
Hierarchial
- Non-linear
Nodes
- Root
- Left child
- Element < Node
- Leaves
- Right child
- Element > Node
- Left child
- Root
Insert
- Elements in Tree?
- Y: Begin at root
- N: Create new root
- Element > Node
- Y: Is there a right child?
- Y: Recursive delegation
- N: New right child
- Element < Node
- Y: Is there a left child?
- Y: Recursive delegation
- N: New left child
- Y: Is there a left child?
- Y: Is there a right child?
- Elements in Tree?
Search
- Elements in Tree?
- Y: Begin at root
- Does the node have the element?
- Y: return node
- N: Recursive delegate
- > element
- Right
- < element
- Left
- > element
- Elements in Tree?
Información
- Descripción
- Mapa Mental sobre Binary Tree, creado por Sebastian Puga el 09/03/2021.
- Creado por
- Sebastian Puga
- Visitas
- 0
- Valoración