All Articles in This Series
A complete path from discrete-math prerequisites through algorithmic graph theory to structural, extremal, probabilistic, machine-learning, scientific, and research-frontier topics. All 28 parts are now published!
Algorithm Deep Dives
Standalone reference guides for individual graph algorithms — full derivation, pseudocode, Python/C++/Java implementations, complexity analysis, and worked examples. Organized by topic below, roughly progressing from foundational traversal through classical algorithmic graph theory to advanced structural and machine-learning methods. Read independently of the main parts.
Traversal & Ordering Fundamentals
The queue- and stack-driven basics every later algorithm on this page builds on.
Shortest Paths
Single-source, all-pairs, and specialized-weight shortest-path algorithms, from the classical trio to compact distance oracles.
Minimum Spanning Trees & Tree Structures
Building, counting, and querying trees — spanning trees, arborescences, spanning-tree counting, and fast tree-query data structures.
Connectivity & Strongly Connected Components
Finding single points of failure and strongly connected regions, from static analysis to fully dynamic maintenance.
Network Flow & Cuts
Maximum flow, minimum cost flow, and global minimum cuts — from the original augmenting-path method to randomized contraction.
Matching & Assignment
Pairing up vertices optimally — bipartite matching, weighted assignment, general-graph matching, and a matching-powered DAG reduction.
The Traveling Salesman Problem
Exact, dynamic-programming, and heuristic approaches to the classic NP-hard tour problem.
Eulerian & Hamiltonian Graphs
Visiting every edge versus visiting every vertex — one is linear time, the other is NP-complete.
Graph Coloring
Linear-time 2-coloring versus NP-complete k-coloring, plus the fast heuristics used when an exact answer isn't required.
Structural & Sequence Algorithms
Deciding whether a structure is realizable or tractable — degree sequences, planar embeddings, and bounded-treewidth graphs.
Spectral & Probabilistic Methods
Eigenvalues, random surfers, and randomized sampling — where linear algebra and probability drive graph algorithms.
Community Detection & Network Science
Finding densely-connected groups within a larger network, from betweenness-based splitting to modularity optimization at scale.
Graph Machine Learning
The most advanced deep dives on this page — where isomorphism heuristics became the theoretical ceiling on modern graph neural networks.
All 28 main parts are published, and the algorithm deep dive library keeps growing — 60 and counting! Every core algorithm is covered, with advanced methods now added.