Minimum Spanning Trees (Edexcel A-Level Further Mathematics): Flashcards
📚Flashcards
Practise the cards
10 cards from this deck
ShowHide
Practise the cards
10 cards from this deck
What does Kruskal's algorithm find?
What does Kruskal's algorithm find?
A minimum spanning tree (MST) of a connected, weighted graph
What is a minimum spanning tree (MST)?
What is a minimum spanning tree (MST)?
Subset of edges connecting all vertices with no cycles and minimum total weight
What is the first step in Kruskal's algorithm?
What is the first step in Kruskal's algorithm?
Sort all edges in ascending order by weight
Number of edges in MST for vertices
Number of edges in MST for vertices
edges
Cycle checking method in Kruskal's algorithm
Cycle checking method in Kruskal's algorithm
Disjoint sets (union-find)
Time complexity for sorting edges in Kruskal's
Time complexity for sorting edges in Kruskal's
where is the number of edges
Overall time complexity of Kruskal's algorithm
Overall time complexity of Kruskal's algorithm
Space complexity of Kruskal's algorithm
Space complexity of Kruskal's algorithm
for union-find structures
What type of graph does Kruskal's algorithm require?
What type of graph does Kruskal's algorithm require?
Connected graphs (otherwise gives spanning forest)
When can multiple MSTs exist?
When can multiple MSTs exist?
When edge weights are not distinct
