Graphs
Traversal, shortest paths, connectivity, flow and scheduling on graphs.
Traversal & ordering
Visiting nodes and ordering dependencies.
BFS and DFS
lowThe two basic graph traversals; BFS gives hop distances and levels, DFS gives discovery/finish order for cycles, components and topological order.
Topological sort
lowOrder the vertices of a DAG so every edge points forward; the core of build systems, schedulers and dependency resolution, with cycle detection for free.
lowest common ancestor
Planned.
critical path analysis
Planned.
transitive closure index
Planned.
Shortest paths
Routing and pathfinding.
Dijkstra's algorithm
lowSingle-source shortest paths with non-negative edge weights by settling vertices in order of distance with a priority queue.
A* search
lowDijkstra ordered by cost-so-far plus an admissible estimate of the remaining cost; optimal paths while exploring far fewer nodes toward the goal.
bellman ford negative cycles
Planned.
Contraction hierarchies (shortcut-based shortest paths)
mediumRank the nodes, remove them one by one while adding shortcut edges that keep distances intact, then answer queries with two tiny searches that only climb the ranking.
customizable route planning
Planned.
k shortest paths
Planned.
time dependent shortest path
Planned.
time varying topology routing
Planned.
raptor transit routing
Planned.
connection scan algorithm
Planned.
Connectivity
Components and spanning structures.
Union-find
lowDisjoint-set forest with union by size and path compression; merges sets and answers same-set queries in effectively constant time.
Minimum spanning tree
lowCheapest set of edges connecting all vertices; Kruskal sorts edges and joins components with union-find, Prim grows one tree, Boruvka merges in parallel rounds.
strongly connected components
Planned.
Flow & matching
Assignment and capacity problems.
Max flow (Dinic)
lowMaximum s-t flow by BFS level graphs and blocking flows; also gives the min cut, bipartite matching and assignment with capacities.
min cost flow
Planned.
bipartite matching
Planned.
minimum weight perfect matching
Planned.
stable matching gale shapley
Planned.
Assignment problem (Hungarian / Jonker–Volgenant)
mediumOptimal one-to-one matching of rows to columns in O(n³) by growing a matching along shortest augmenting paths over dual potentials.
Graph analytics
Ranking, clustering, partitioning and colouring whole graphs.
pagerank
Planned.
graph community detection
Planned.
Graph partitioning
mediumSplit a graph into k balanced parts with few edges between them; multilevel coarsen-partition-refine (METIS, KaHIP) for quality, streaming heuristics (LDG, Fennel) for one-pass scale.
graph coloring
Planned.
random graph models
Planned.