Princeton21 / Data-Structures-and-Algorithms

Repository consisting of data-structures and algorithms.
MIT License
32 stars 130 forks source link

Prims Algorithm #365

Closed Srestha-Maitra closed 3 years ago

Srestha-Maitra commented 3 years ago

Prim's algorithm to find minimum cost spanning tree uses the greedy approach. Prim's algorithm shares a similarity with the shortest path first algorithms.

Princeton21 commented 3 years ago

Thank you for contributing Keep it up