Graph Theory

From sets and proofs to spectral methods and research frontiers

A rigorous, ever-expanding journey through graph theory — mathematical foundations, traversal, shortest paths, trees, flows, coloring, planarity, structural and extremal theory, probabilistic and spectral methods, and modern graph machine learning. Every part builds intuition first, then formalism, then algorithms.

28Parts
60Algorithm Deep Dives
Back to Technology
28-Part Curriculum — Complete! + 60 Algorithm Deep Dives

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!

60 Algorithm Deep Dives

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.

6 Algorithms

Traversal & Ordering Fundamentals

The queue- and stack-driven basics every later algorithm on this page builds on.

9 Algorithms

Shortest Paths

Single-source, all-pairs, and specialized-weight shortest-path algorithms, from the classical trio to compact distance oracles.

8 Algorithms

Minimum Spanning Trees & Tree Structures

Building, counting, and querying trees — spanning trees, arborescences, spanning-tree counting, and fast tree-query data structures.

5 Algorithms

Connectivity & Strongly Connected Components

Finding single points of failure and strongly connected regions, from static analysis to fully dynamic maintenance.

7 Algorithms

Network Flow & Cuts

Maximum flow, minimum cost flow, and global minimum cuts — from the original augmenting-path method to randomized contraction.

4 Algorithms

Matching & Assignment

Pairing up vertices optimally — bipartite matching, weighted assignment, general-graph matching, and a matching-powered DAG reduction.

4 Algorithms

The Traveling Salesman Problem

Exact, dynamic-programming, and heuristic approaches to the classic NP-hard tour problem.

2 Algorithms

Eulerian & Hamiltonian Graphs

Visiting every edge versus visiting every vertex — one is linear time, the other is NP-complete.

2 Algorithms

Graph Coloring

Linear-time 2-coloring versus NP-complete k-coloring, plus the fast heuristics used when an exact answer isn't required.

3 Algorithms

Structural & Sequence Algorithms

Deciding whether a structure is realizable or tractable — degree sequences, planar embeddings, and bounded-treewidth graphs.

3 Algorithms

Spectral & Probabilistic Methods

Eigenvalues, random surfers, and randomized sampling — where linear algebra and probability drive graph algorithms.

3 Algorithms

Community Detection & Network Science

Finding densely-connected groups within a larger network, from betweenness-based splitting to modularity optimization at scale.

4 Algorithms

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.