Mapa mental
binary tree
Conteúdo do mapa
binary tree
a binary tree is a nonlinear data structure
it consists of a root and nodes
- the root and nodes may have 0, 1, or 2 daughter nodes
- if a node has 0 daughters, it is called a "leaf"
- if the daughter's element is less than the node's that daughter goes to the left
- if its value is more, it goes to the right
- the value associated with a node is its element
- the root and nodes may have 0, 1, or 2 daughter nodes
a function must begin with the root
- the function moves to the left or right accordingly
- such a function
- the function moves to the left or right accordingly
Informações
- Descrição
- Mapa Mental sobre binary tree, criado por Grace Bourie em 28-02-2021.
- Criado por
- Grace Bourie
- Visualizações
- 1
- Avaliação