After 38 Years, Five Researchers Break the Classic O(m + n log n) Bound for Sparse Shortest Paths
techNmak · x · 2026-09-03
For 38 years, no algorithm beat Dijkstra's O(m + n log n) bound for shortest paths on sparse directed graphs. In 2025, five researchers — Duan, Mao, Mao, Shu and Yin — finally did.
The key insight
- Dijkstra always picks the unfinished vertex with the smallest known distance, so vertices are processed in strictly increasing distance order.
- In the comparison-addition model, if output must be in distance order, Dijkstra is already optimal — the ordering itself is the bottleneck.
- But the shortest-path problem only asks for final distances, not sorted output. The new algorithm exploits exactly this gap.
How it works
Rather than always finding the single closest vertex next, the algorithm combines Dijkstra-style exploration, Bellman-Ford-style relaxations, and divide-and-conquer, processing vertices in batches to sidestep the ordering constraint and beat the long-standing bound on sparse directed graphs.
A landmark result in theoretical computer science with direct implications for the family of distance/ordering problems on graphs.
More from Research
- Abel Prize winner Gromov's first-ever podcast: math is the least logical science — TOEwithCurt · 2026-11-23
- DeepMind cut Strassen's 49 multiplications to 48 — what else is hiding? — McDonaghMatthew · 2026-11-23
- Wharton study: 80% of people follow a rigged, confidently wrong AI — and feel more sure of themselves — r0ck3t23 · 2026-11-23
- Grid Robotics blueprint: an embodied harness with S2/S1/S0 layers for robot agents — TheTuringPost · 2026-11-23
- Schmidhuber says his first recursive self-improvement algorithms date to 1987 — SchmidhuberAI · 2026-11-23
- Same idea, 14x the surprise: testing perplexity's flaw with Qwen3 1.7B — mhdfaran · 2026-11-23