Skip to content

Commit 386f436

Browse files
fix: adds URL for a reference about the algorithm
1 parent 08ce5d2 commit 386f436

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/thealgorithms/greedyalgorithms/KruskalAlgorithm.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
/**
44
* An encapsulated, self-contained implementation of Kruskal's algorithm
55
* for computing the Minimum Spanning Tree (MST) of a weighted, undirected graph.
6+
* You can find more about this algorithm in the following link:
7+
* <a href="https://www.geeksforgeeks.org/dsa/kruskals-minimum-spanning-tree-algorithm-greedy-algo-2/">Kruskal algorithm - Geeks for Geeks</a>
68
* <p>
79
* To avoid namespace conflicts and maintain isolation within larger projects,
810
* all collaborators (Edge, Graph, DisjointSet) are implemented as private

0 commit comments

Comments
 (0)