Exercise · ZW-TREE-008 · ★★☆ Intermediate
An acyclic graph has 10 vertices and 3 connected components. How many edges must be added, without creating cycles, to make it a tree?
Choose one option.
Show answer
- D. 2
Exercise · ZW-TREE-008 · ★★☆ Intermediate
Choose one option.
Each component is a tree, so the graph has \(10-3=7\) edges. A tree on 10 vertices has 9; \(9-7=2\) are missing.
A tree \(T=(V,E)\) is a connected graph that contains no cycles.