added code description for prims algorithm

pull/817/head
rathi310 2022-08-26 16:05:38 +05:30
parent 298036bcc8
commit 85895d1c41
1 changed files with 1 additions and 1 deletions

View File

@ -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.