Mind map
Binary Tree
Map content
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
Information
- Description
- Mind Map on Binary Tree, created by Valeria Niebles on 10/03/2021.
- Created by
- Valeria Niebles · Mar 2021
- Updated
- Mar 10, 2021
- Views
- 1
- Rating