Close Menu
Technology Mag

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot
    Cloud development platform Vercel was hacked

    Cloud development platform Vercel was hacked

    April 19, 2026
    Marathon battery life makes Keychron’s Ultra 8K keyboards its best yet

    Marathon battery life makes Keychron’s Ultra 8K keyboards its best yet

    April 19, 2026
    The RAM shortage could last years

    The RAM shortage could last years

    April 18, 2026
    Facebook X (Twitter) Instagram
    Subscribe
    Technology Mag
    Facebook X (Twitter) Instagram YouTube
    • Home
    • News
    • Business
    • Games
    • Gear
    • Reviews
    • Science
    • Security
    • Trending
    • Press Release
    Technology Mag
    Home » A New Algorithm Makes It Faster to Find the Shortest Paths
    Science

    A New Algorithm Makes It Faster to Find the Shortest Paths

    News RoomBy News RoomOctober 21, 20253 Mins Read
    Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Email
    A New Algorithm Makes It Faster to Find the Shortest Paths

    The original version of this story appeared in Quanta Magazine.

    If you want to solve a tricky problem, it often helps to get organized. You might, for example, break the problem into pieces and tackle the easiest pieces first. But this kind of sorting has a cost. You may end up spending too much time putting the pieces in order.

    This dilemma is especially relevant to one of the most iconic problems in computer science: finding the shortest path from a specific starting point in a network to every other point. It’s like a souped-up version of a problem you need to solve each time you move: learning the best route from your new home to work, the gym, and the supermarket.

    “Shortest paths is a beautiful problem that anyone in the world can relate to,” said Mikkel Thorup, a computer scientist at the University of Copenhagen.

    Intuitively, it should be easiest to find the shortest path to nearby destinations. So if you want to design the fastest possible algorithm for the shortest-paths problem, it seems reasonable to start by finding the closest point, then the next-closest, and so on. But to do that, you need to repeatedly figure out which point is closest. You’ll sort the points by distance as you go. There’s a fundamental speed limit for any algorithm that follows this approach: You can’t go any faster than the time it takes to sort.

    Forty years ago, researchers designing shortest-paths algorithms ran up against this “sorting barrier.” Now, a team of researchers has devised a new algorithm that breaks it. It doesn’t sort, and it runs faster than any algorithm that does.

    “The authors were audacious in thinking they could break this barrier,” said Robert Tarjan, a computer scientist at Princeton University. “It’s an amazing result.”

    The Frontier of Knowledge

    To analyze the shortest-paths problem mathematically, researchers use the language of graphs—networks of points, or nodes, connected by lines. Each link between nodes is labeled with a number called its weight, which can represent the length of that segment or the time needed to traverse it. There are usually many routes between any two nodes, and the shortest is the one whose weights add up to the smallest number. Given a graph and a specific “source” node, an algorithm’s goal is to find the shortest path to every other node.

    The most famous shortest-paths algorithm, devised by the pioneering computer scientist Edsger Dijkstra in 1956, starts at the source and works outward step by step. It’s an effective approach, because knowing the shortest path to nearby nodes can help you find the shortest paths to more distant ones. But because the end result is a sorted list of shortest paths, the sorting barrier sets a fundamental limit on how fast the algorithm can run.

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp Reddit Email
    Previous ArticleEven Xbox developer kits are getting a big price hike
    Next Article WIRED Roundup: Satellites Data Leak, Cybertrucks, Politicized Federal Workers

    Related Posts

    A Startup Says It Has Found a Hidden Source of Geothermal Energy

    A Startup Says It Has Found a Hidden Source of Geothermal Energy

    December 8, 2025
    A Fentanyl Vaccine Is About to Get Its First Major Test

    A Fentanyl Vaccine Is About to Get Its First Major Test

    December 6, 2025
    The Oceans Are Going to Rise—but When?

    The Oceans Are Going to Rise—but When?

    December 6, 2025
    Thursday’s Cold Moon Is the Last Supermoon of the Year. Here’s How and When to View It

    Thursday’s Cold Moon Is the Last Supermoon of the Year. Here’s How and When to View It

    December 4, 2025
    The Data Center Resistance Has Arrived

    The Data Center Resistance Has Arrived

    December 4, 2025
    Boeing’s Next Starliner Flight Will Be Allowed to Carry Only Cargo

    Boeing’s Next Starliner Flight Will Be Allowed to Carry Only Cargo

    December 4, 2025
    Our Picks
    Marathon battery life makes Keychron’s Ultra 8K keyboards its best yet

    Marathon battery life makes Keychron’s Ultra 8K keyboards its best yet

    April 19, 2026
    The RAM shortage could last years

    The RAM shortage could last years

    April 18, 2026
    Cheap stuff that doesn’t suck, take 3

    Cheap stuff that doesn’t suck, take 3

    April 18, 2026
    Dyson’s handheld fan is more powerful and louder than I expected

    Dyson’s handheld fan is more powerful and louder than I expected

    April 18, 2026
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo
    Don't Miss
    ChatGPT and Gemini apps are coming for your PC News

    ChatGPT and Gemini apps are coming for your PC

    By News RoomApril 18, 2026

    Hi, friends! Welcome to Installer No. 124, your guide to the best and Verge-iest stuff…

    Should you stare into Sam Altman’s orb before your next date?

    Should you stare into Sam Altman’s orb before your next date?

    April 17, 2026
    Betting on the news raises ethical questions for journalists

    Betting on the news raises ethical questions for journalists

    April 17, 2026
    This charming gadget writes bad AI poetry

    This charming gadget writes bad AI poetry

    April 17, 2026
    Facebook X (Twitter) Instagram Pinterest
    • Privacy Policy
    • Terms of use
    • Advertise
    • Contact
    © 2026 Technology Mag. All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.