AlgoVizzzzzzzzz
HomeDSA Explorer

Graph Algorithms

Explore nodes, edges, DFS, BFS, and shortest paths.

Graph Builder

Sandbox to create, edit, and visualize directed/undirected weighted graphs.

Breadth-First Search (BFS)

Level-order traversal useful for finding shortest paths in unweighted graphs.

Depth-First Search (DFS)

Depth-first traversal useful for path finding, cycle detection, and topological sorting.

Topological Sort

Linear ordering of vertices in a DAG where for every edge u->v, u comes before v.

Minimum Spanning Tree

Finds the subset of edges calculating the minimum total weight to connect all vertices (Prim's & Kruskal's).

Bellman-Ford Algorithm

Computes shortest paths from a single source node to all other nodes, accommodating negative edge weights.

Dijkstra's Algorithm

Finds the shortest path between nodes in a graph with non-negative edge weights.

Union Find (Disjoint Set)

Data structure for tracking set elements partitioned into disjoint subsets.

Floyd-Warshall Algorithm

All-Pairs Shortest Path algorithm for finding shortest paths in a weighted graph.

Strongly Connected Components

Find sets of vertices in a directed graph where every vertex is reachable from every other vertex (Kosaraju's).