Pranay KumarPrims AlgorithmAlso known as Jarniks algorithm is a type of greedy algorithm that is used for finding minimum spanning tree of weighted undirected graphs…3 min read·Apr 10, 2022----