From 85895d1c41666ef9599971d02f2400278ba6a8bd Mon Sep 17 00:00:00 2001 From: rathi310 Date: Fri, 26 Aug 2022 16:05:38 +0530 Subject: [PATCH] added code description for prims algorithm --- algorithms/CPlusPlus/Graphs/prims-algorithm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algorithms/CPlusPlus/Graphs/prims-algorithm.cpp b/algorithms/CPlusPlus/Graphs/prims-algorithm.cpp index 49d4a094..0849ff62 100644 --- a/algorithms/CPlusPlus/Graphs/prims-algorithm.cpp +++ b/algorithms/CPlusPlus/Graphs/prims-algorithm.cpp @@ -1,5 +1,5 @@ /* -APPROACH: We will have 3 arrays(key, mst and parent). +APPROACH:- We will have 3 arrays(key, mst and parent). Significance of all three arrays:- -> Key : This array holds the weight/ cost of the MST.