Structure of Kruskal's Algorithm:
Define an edge struct to handle edges more easily.
struct edge {
int first, second, weight;
};
Connected and Undirected graph with edge and weight
minimal spanning treeName | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Structure of Kruskal's Algorithm:
Define an edge struct to handle edges more easily.
struct edge {
int first, second, weight;
};
Connected and Undirected graph with edge and weight
minimal spanning tree