Exercise · ZW-TREE-005 · ★★☆ Intermediate
A tree with 7 vertices has one vertex of degree 4, one of degree 3, and the rest are leaves (degree 1). How many leaves does it have?
Choose one option.
Show answer
- B. 5
Exercise · ZW-TREE-005 · ★★☆ Intermediate
Choose one option.
That leaves \(7-2=5\) vertices, all of degree 1. Check: \(4+3+5=12=2\cdot 6\), as required for a tree with 6 edges.
A tree \(T=(V,E)\) is a connected graph that contains no cycles.