Exercise · ZW-TREE-003 · ★☆☆ Basic
The vertices are \(1,\dots,5\). Which of these edge sets forms a tree?
Choose one option.
Show answer
- A. \(12,23,34,45\)
Exercise · ZW-TREE-003 · ★☆☆ Basic
Choose one option.
The path \(12,23,34,45\) is connected and acyclic. The set \(12,23,31,45\) has the cycle \(1,2,3\) and is not connected; \(12,23,34\) leaves vertex 5 isolated; and \(12,23,34,45,51\) is a cycle.
A tree \(T=(V,E)\) is a connected graph that contains no cycles.