← Quiz: Rooted Trees and Huffman Coding: all 10 questions
Quiz: Rooted Trees and Huffman Coding · Question 1 of 10
In a rooted tree, what is a leaf?
In a rooted tree, what is a leaf?
- A.The root
- B.A vertex with exactly one child
- C.A vertex with no children
- D.Any vertex at level 1
Answer & explanation
Correct answer: A vertex with no children
Leaves are the vertices at the bottom; internal vertices have at least one child.
Can you get the rest right without peeking?
Take the timed Quiz: Rooted Trees and Huffman Coding quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →