Tenta Flashcards

1
Q

Given a graph G with costs cij = k, k ≥ 0. Then a minimum spanning
tree (MST) can be found in O(m + n).
If you think the statement is true, argue why (i.e. give an idea for an
algorithm including an short argument why the running time is correct). If you think the statement is false, give an argument why it cannot be true.

A

Yes. Edges same => use BSF or DSF

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