tags:
- notes
- video
- algorithms
- data-structures
source: https://www.youtube.com/watch?v=BHB0B1jFKQc
created: 2024-11-06
What is a full binary tree?
A full binary tree is a binary tree where each node has either two children or no children.
What is a complete binary tree?
A complete binary tree is a binary tree where nodes are added from left child to the right child and from the top of the tree to the bottom.
What is a perfect binary tree?
A perfect binary tree is a tree where all of the leaves are on the same level and the nodes that do have children have two.
What are the three binary tree traversals?
The three binary tree traversals are:
How is a traversal executed?
A traversal is executed recursively.How is a traversal executed recursively?
A traversal is executed recursively by executing it for every node in the tree.
...