Different algorithms to traverse/modify binary tree data structures in Python.
Iterating through a binary tree using the different depth-first traversal techniques:
- Pre-order traversal
- In-order traversal
- Post-order traversal
Iterating through a binary tree using breadth-first search
- Searching
- Insertion
- Deletion
- Verification (cycle detection, node value verification)
https://daankolthof.com/2020/01/05/trees-and-binary-search-trees/