DSAverse
Graph Algorithms
Loading Graph Algorithms...
BFS Traversal
visited: 0 / 7Initializing Sorting Algorithms...
Sorting
Trees
Graphs
Preparing interactive visualizations...
Graph Algorithms
Loading Graph Algorithms...
BFS Traversal
visited: 0 / 7Watch a minimum spanning tree grow outward from a start node — at every step, the cheapest edge crossing the cut pulls one new node into the tree.
O(E log V)O(V + E)Question 1 of 3
What does Prim's algorithm build?