News for hackers. Stuff that matters.
Re:Faster Than Dijkstra? by onecommentman on Saturday February 14, 2026 @01:17AM (#47012091)
Obligatory mention of the linear time analog sorting algorithm known as the “spaghetti algorithm”.

https://en.wikipedia.org/wiki/Spaghetti_sort

https://every-algorithm.github.io/2023/11/25/spaghetti_sort....

The equivalent for positive link weight shortest paths is the “string algorithm” — build the network out of string and pull taut between the two knots/nodes, the resulting set of taut links is the shortest path.

There are no comments on this comment yet.