Spanning Trees Flashcards
1
Q
What is the invariant in the algorithm?
A
Prior to each iteration, A is a subset of some mininum spanning tree.
2
Q
Prove the theorem
A
3
Q
disjoint-set-forest
For a sequence of:
- O(|V|) - MAKE-SET operations
- at most O(|V|) - UNION operations
- 2|E|-1 = O(|E|) - FIND-SET operations
what is the run-time of all this operations?
A
Run-Time:
O(|E|log(|E|)) = O(|E|log|V^2|)=O(|E|log(|V|))
4
Q
Prove the corollary
A
5
Q
Kruskal algorithm
A
6
Q
Prim’s algorithm
A
7
Q
What is a bottleneck spanning tree?
A