Better HN
topnewbestaskshowjobs
Log inSign up

russellcoleman

11 karma · joined Aug 7, 2023 (3y ago) · 2 submissions

https://russellcoleman.org/
Submissions

comment 1y ago · link · parent

Oh I think this is just finding the graph diameter

comment 1y ago · link · parent

> After all, the definition of the longest possible train journey is “the shortest possible route between the two farthest possible stations.”

I’m trying to think, what would be the most efficient way to compute this? There has to be something better than brute force