There was an error while loading. Please reload this page.
1 parent d82e533 commit cf1cbc0Copy full SHA for cf1cbc0
C++/Algorithms/Graph-Algorithms/prims.cpp
@@ -1,6 +1,8 @@
1
// A C++ program for Prim's Minimum
2
// Spanning Tree (MST) algorithm. The program Used
3
//the adjacency matrix
4
+//Ask the input from the usee the num of edges,
5
+//num of vertices and the graph with the value of each edge
6
#include <bits/stdc++.h>
7
using namespace std;
8
struct compare{
0 commit comments