Mapa mental
Binary Tree
Conteúdo do 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?
Informações
- Descrição
- Mapa Mental sobre Binary Tree, criado por Sebastian Puga em 09-03-2021.
- Criado por
- Sebastian Puga
- Visualizações
- 0
- Avaliação