Question

Which condition must be satisfied for Kruskal’s Algorithm to function correctly?

A The graph must be directed.
B The graph must be connected.
C The graph must be weighted.
D All edge weights must be distinct.
E The graph must have no cycles.
Practice Next

Hey! Ask a query