algorithms

    Bubble SortInsertion SortSelection SortRadix SortHeap SortMerge SortQuick Sort
    Depth First SearchBreadth First SearchPrim's AlgorithmKruskal's AlgorithmDijkstra's AlgorithmTopological SortingHamiltonian Cycle
    Binary Search TreeBinary HeapCircular Queue
    Convex Hull
Prim's Algorithm

Prim's Algorithm builds a Minimum Spanning Tree (MST) by starting from any node and adding the smallest edge that connects the tree to a new node, repeating until all nodes are included. It is used for optimizing network designs like computer and road networks.

Draw Graph