Kruskal runs on a connected undirected graph with 6 vertices. How many edges does the finished spanning tree have?
Answer: ______________
A connected undirected input graph has vertices A, B, C, D and edges AB, BC, CA, CD. A proposed spanning tree keeps only AB, BC and CA. Why is the proposal not a spanning tree?
Find the minimum total weight of a spanning tree of this connected undirected graph. Vertices: A, B, C, D, E. Edges: AB 2, BC 3, AC 4, CD 5, DE 6, CE 8, AD 10, BE 12.
Answer: ______________
Kruskal scans this connected undirected graph: vertices A, B, C, D; weights AB 1, CD 2, AC 3, BC 4, BD 5. After accepting AB, CD and AC, why is BC rejected?
A connected undirected graph has 7 vertices and 9 edges. Edges are deleted to leave a spanning tree, without losing connectivity. How many edges are deleted?
Answer: ______________
Kruskal's accepted forest F is contained in some MST. No edge of F crosses a particular cut. E has minimum weight among edges crossing that cut. What makes E safe to add?
Parent pointers are H to G, G to root F, and J to G. Only find(H) is called, using full path compression. Which pointers remain afterward?
find(E) follows E to D to B to root A. With full path compression, which parent pointers change?
Kruskal has accepted AB and BC. Union-find has root B for {A,B,C}, while D is a singleton root. It now accepts CD. With union by size, which root link should be made?
A student uses union by size without path compression and claims the standard bound is the same as using both. Which correction states the usual bounds?