Prim's Algorithm

Category: Graphs

Difficulty: advanced

Description: Find MST using greedy approach

Time Complexity: O(E log V)

Space Complexity: O(V)

Related LeetCode Problems