Basics of Graphs
Spanning Tree Concepts
Properties
Prim’s Algorithm
Kruskal’s Algorithm
100

A structure consisting of vertices and edges

What is a graph?

100

A tree that connects all vertices without forming cycles

What is a spanning tree?

100

A spanning tree contains no ______

What are cycles?

100

Algorithm used to find Minimum Spanning Tree by growing a tree

What is Prim’s Algorithm?

100

Algorithm that builds MST by selecting smallest edges first

What is Kruskal’s Algorithm?

200

A graph with no direction on edges

What is an undirected graph?

200

A spanning tree of a graph with n vertices contains this many edges

What is n − 1 edges?

200

All spanning trees of a graph have the same number of this

What are edges?

200

Prim’s algorithm starts from this

What is any arbitrary vertex?

200

First step in Kruskal’s algorithm

What is sorting edges by weight?

300

A graph where every pair of vertices is connected

What is a complete graph?

300

A graph must have this property to contain a spanning tree

What is being connected?

300

A spanning tree is minimally ______

What is connected?

300

At each step, Prim’s algorithm selects this type of edge

What is the minimum weight edge?

300

Edges are added only if they do not form this

What is a cycle?

400

A graph with no cycles

What is an acyclic graph?

400

Removing one edge from a spanning tree results in this

What is a disconnected graph?

400

A spanning tree is maximally ______

What is acyclic?

400

Prim’s algorithm always adds edges that connect to this

What is a new vertex?

400

Technique used to detect cycles efficiently

What is Union-Find (Disjoint Set)?

500

A graph that has at least one path between every pair of vertices

What is a connected graph?

500

Adding one edge to a spanning tree creates this

What is a cycle?

500

Maximum number of spanning trees in a complete graph with n vertices

What is n^(n−2)?

500

Prim’s algorithm stops when this condition is met

What is all vertices are included in the tree?

500

Kruskal’s algorithm stops when this condition is satisfied

What is n − 1 edges are selected?

M
e
n
u