Running Time

We compute an MST on n2 edges: $O(n^2 \log n)$.

We then walk the tree, avoiding duplicates: O(n).

Total: $O(n^2 \log n)$ (not too bad).


next up previous
Next: Analysis of Solution Quality Up: APPROXIMATION Previous: Approximation Algorithm