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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Prove the theorem

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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|))

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Prove the corollary

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Kruskal algorithm

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Prim’s algorithm

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a bottleneck spanning tree?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly