Mapa mental
Binary Search Tree
Contenido del mapa
Binary Search Tree
How its Organized
- Binary Tree = 2 children max
- Anything left of a node is less than it
- Anything right of a node is greater than it
Implementation
- Using a similar node structure to linked lists (non-contiguous)
- Upper structure (Tree) only knows of the root
- Uses recursion to preform insertions and searches
- This is because any subtree is also a valid BST!
- Traverses towards desired spot using the predictable rules of the tree
- Using a similar node structure to linked lists (non-contiguous)
Applications
- Can be used to sort a list, being used as an intermediary step
- A self-balancing tree can also help store data efficiently itself as well!
Información
- Descripción
- Mapa Mental sobre Binary Search Tree, creado por Nick Kapsos el 26/10/2021.
- Creado por
- Nick Kapsos
- Visitas
- 1
- Valoración