Mind map
binary tree
Map content
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
Information
- Description
- Mind Map on binary tree, created by Grace Bourie on 28/02/2021.
- Created by
- Grace Bourie
- Views
- 1
- Rating