diff --git a/data_structures/Graphs/prim.java b/data_structures/Graphs/PrimMST.java similarity index 99% rename from data_structures/Graphs/prim.java rename to data_structures/Graphs/PrimMST.java index 4bc5e36b..2d366086 100644 --- a/data_structures/Graphs/prim.java +++ b/data_structures/Graphs/PrimMST.java @@ -5,7 +5,7 @@ import java.util.*; import java.lang.*; import java.io.*; -class MST +class PrimMST { // Number of vertices in the graph private static final int V=5; @@ -113,4 +113,4 @@ class MST // Print the solution t.primMST(graph); } -} \ No newline at end of file +}