> 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