Recall & Review
beginner
What is a complete binary tree?
A complete binary tree is a tree where all levels are fully filled except possibly the last level, which is filled from left to right without gaps.
Click to reveal answer
beginner
Define a full binary tree.
A full binary tree is a tree where every node has either 0 or 2 children. No node has only one child.
Click to reveal answer
intermediate
What makes a binary tree perfect?
A perfect binary tree is both full and complete. All internal nodes have two children, and all leaf nodes are at the same level.
Click to reveal answer
intermediate
How does a complete binary tree differ from a full binary tree?
A complete binary tree can have nodes with one child only at the last level, while a full binary tree does not allow any node to have only one child.
Click to reveal answer
intermediate
Why is a perfect binary tree considered the most balanced?
Because all levels are fully filled and all leaves are at the same depth, making the tree symmetrical and balanced in height.
Click to reveal answer
Which binary tree has all levels fully filled except possibly the last, which is filled from left to right?
✗ Incorrect
A complete binary tree fills all levels fully except possibly the last, which is filled from left to right.
In which binary tree does every node have either 0 or 2 children?
✗ Incorrect
A full binary tree requires every node to have either zero or two children.
Which binary tree is both full and complete with all leaves at the same level?
✗ Incorrect
A perfect binary tree is both full and complete, with all leaves at the same depth.
Can a complete binary tree have nodes with only one child?
✗ Incorrect
A complete binary tree can have nodes with one child only at the last level, filled from left to right.
Which property makes a perfect binary tree balanced?
✗ Incorrect
A perfect binary tree is balanced because all levels are fully filled and all leaves are at the same level.
Explain the differences between complete, full, and perfect binary trees.
Think about how nodes are arranged and how many children they have.
You got /3 concepts.
Why is a perfect binary tree considered more balanced than a complete or full binary tree?
Consider the shape and height of the tree.
You got /3 concepts.