Skip to content

Commit 1a4f581

Browse files
Update prims.md
1 parent 7b83680 commit 1a4f581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsa/Algorithms/prims.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,4 +321,4 @@ The MST contains the edges: [('A', 'B', 1), ('B', 'D', 2), ('B', 'C', 3)].
321321

322322
## Conclusion
323323

324-
Prim's Algorithm is an efficient method for finding the Minimum Spanning Tree of a weighted undirected graph. It operates in O(E log V) time complexity using a priority queue, making it suitable for large graphs. Understanding and implementing this algorithm is fundamental for solving various network design problems and optimizing connectivity.
324+
Prim's Algorithm is an efficient method for finding the Minimum Spanning Tree of a weighted undirected graph. It operates in $O(E log V)$ time complexity using a priority queue, making it suitable for large graphs. Understanding and implementing this algorithm is fundamental for solving various network design problems and optimizing connectivity.

0 commit comments

Comments
 (0)