<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/everyone-thought-dijkstra-couldn-t-be-beaten-algorithm-programming-computerscience-erea9bebx" -->

---
title: Everyone Thought Dijkstra Couldn’t Be Beaten #algorithm...
description: A new algorithm published by five researchers in April 2025 breaks the so-called 'sorting barrier' that made Dijkstra's algorithm reliant on pulling nodes in...
canonical: https://daily.dev/posts/everyone-thought-dijkstra-couldn-t-be-beaten-algorithm-programming-computerscience-erea9bebx
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Everyone Thought Dijkstra Couldn’t Be Beaten #algorithm #programming #computerscience | daily.dev
og:description: A new algorithm published by five researchers in April 2025 breaks the so-called 'sorting barrier' that made Dijkstra's algorithm reliant on pulling nodes in...
og:url: https://daily.dev/posts/everyone-thought-dijkstra-couldn-t-be-beaten-algorithm-programming-computerscience-erea9bebx
og:image: https://api.daily.dev/og/posts/erea9beBX.png
og:image:alt: Everyone Thought Dijkstra Couldn’t Be Beaten #algorithm #programming #computerscience
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Everyone Thought Dijkstra Couldn’t Be Beaten #algorithm #programming #computerscience

**[YouTube](https://daily.dev/sources/youtube)** · 1 min read · 0 upvotes · 0 comments

## Summary

A new algorithm published by five researchers in April 2025 breaks the so-called 'sorting barrier' that made Dijkstra's algorithm reliant on pulling nodes in strictly sorted order by distance. The new deterministic algorithm runs in O(M log^(2/3) N) versus Dijkstra's O(M + N log N) with a Fibonacci heap, but only outperforms Dijkstra on sparse graphs; on dense graphs with large N, Dijkstra remains just as good. The paper itself isn't new, but went viral again recently, sparking exaggerated claims that Dijkstra had been 'beaten' and that routing systems like Google Maps would be rewritten — which isn't happening.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=iDv0oQKTcgM>

## Questions this post answers

### Is there a new algorithm that beats Dijkstra's algorithm for shortest paths?

Yes, five researchers published an algorithm in April 2025 running in O(M log^(2/3) N) time, faster than Dijkstra's O(M + N log N) with a Fibonacci heap. It is deterministic and works on directed graphs with non-negative real weights. It breaks the long-assumed 'sorting barrier' requiring nodes to be pulled in sorted distance order, but only outperforms Dijkstra on sparse graphs.

_Curious how algorithmic breakthroughs actually change what you build? daily.dev surfaces the real story behind viral computer science claims._

### Does the new sub-Dijkstra shortest path algorithm mean Google Maps will change its routing?

No, despite viral claims, Google Maps and similar production routing systems are not switching algorithms because of this result. The new algorithm only beats Dijkstra on sparse graphs, and once graphs become dense with large N, Dijkstra's algorithm remains just as effective, making it impractical to displace in most real-world routing systems.

_For developers separating algorithm hype from practical impact, daily.dev tracks how research claims hold up in practice._

## Similar posts on daily.dev

- [The Lemma Said This Couldn’t Happen](https://daily.dev/posts/the-lemma-said-this-couldn-t-happen-9z1welulp) · Medium · 0 upvotes · 0 comments
- [Faster than Dijkstra?](https://daily.dev/posts/faster-than-dijkstra--luk6oiopf) · Hacker News · 3 upvotes · 0 comments

---

Tags: [#computer-science](https://daily.dev/tags/computer-science), [#graph-theory](https://daily.dev/tags/graph-theory)

[View this post on daily.dev](https://daily.dev/posts/everyone-thought-dijkstra-couldn-t-be-beaten-algorithm-programming-computerscience-erea9bebx)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Everyone Thought Dijkstra Couldn’t Be Beaten #algorithm #programming #computerscience","url":"https://daily.dev/posts/everyone-thought-dijkstra-couldn-t-be-beaten-algorithm-programming-computerscience-erea9bebx","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/everyone-thought-dijkstra-couldn-t-be-beaten-algorithm-programming-computerscience-erea9bebx"},"datePublished":"2026-09-18T20:06:58.745Z","dateModified":"2026-09-18T20:07:19.332Z","description":"A new algorithm published by five researchers in April 2025 breaks the so-called 'sorting barrier' that made Dijkstra's algorithm reliant on pulling nodes in...","image":"https://i.ytimg.com/vi/iDv0oQKTcgM/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/iDv0oQKTcgM/sddefault.jpg","isAccessibleForFree":true,"articleSection":"YouTube","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"YouTube","logo":"https://media.daily.dev/image/upload/s--W5zMumpP--/f_auto/v1725350181/logos/youtube","url":"https://daily.dev/sources/youtube"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/everyone-thought-dijkstra-couldn-t-be-beaten-algorithm-programming-computerscience-erea9bebx","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"computer-science,graph-theory","timeRequired":"PT1M","video":{"@type":"VideoObject","name":"Everyone Thought Dijkstra Couldn’t Be Beaten #algorithm #programming #computerscience","description":"A new algorithm published by five researchers in April 2025 breaks the so-called 'sorting barrier' that made Dijkstra's algorithm reliant on pulling nodes in...","thumbnailUrl":"https://i.ytimg.com/vi/iDv0oQKTcgM/sddefault.jpg","uploadDate":"2026-09-18T20:06:58.745Z","duration":"PT1M","url":"https://api.daily.dev/r/erea9beBX","embedUrl":"https://www.youtube.com/embed/iDv0oQKTcgM"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"YouTube","item":"https://daily.dev/sources/youtube"},{"@type":"ListItem","position":3,"name":"Everyone Thought Dijkstra Couldn’t Be Beaten #algorithm #programming #computerscience"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/everyone-thought-dijkstra-couldn-t-be-beaten-algorithm-programming-computerscience-erea9bebx#faq","mainEntity":[{"@type":"Question","name":"Is there a new algorithm that beats Dijkstra's algorithm for shortest paths?","acceptedAnswer":{"@type":"Answer","text":"Yes, five researchers published an algorithm in April 2025 running in O(M log^(2/3) N) time, faster than Dijkstra's O(M + N log N) with a Fibonacci heap. It is deterministic and works on directed graphs with non-negative real weights. It breaks the long-assumed 'sorting barrier' requiring nodes to be pulled in sorted distance order, but only outperforms Dijkstra on sparse graphs. Curious how algorithmic breakthroughs actually change what you build? daily.dev surfaces the real story behind viral computer science claims."}},{"@type":"Question","name":"Does the new sub-Dijkstra shortest path algorithm mean Google Maps will change its routing?","acceptedAnswer":{"@type":"Answer","text":"No, despite viral claims, Google Maps and similar production routing systems are not switching algorithms because of this result. The new algorithm only beats Dijkstra on sparse graphs, and once graphs become dense with large N, Dijkstra's algorithm remains just as effective, making it impractical to displace in most real-world routing systems. For developers separating algorithm hype from practical impact, daily.dev tracks how research claims hold up in practice."}}]}
```

