Examveda

What is a spanning tree of a graph?

A. A subgraph that includes only leaf nodes.

B. A subset of edges that forms a cycle.

C. A tree where all nodes are leaves.

D. A subgraph that includes all vertices and is connected without any cycles.

Answer: Option D


This Question Belongs to Data Structure >> Graphs

Join The Discussion

Related Questions on Graphs

What is a cycle in a graph?

A. A path that starts and ends at the same vertex with no other repetitions.

B. A path that includes all vertices exactly once.

C. A path with no edges.

D. A complete traversal of all vertices.