The outsider algorithm

<p>Your galactic empire includes more than 50,000 stars. But which ones are farthest apart?</p> <p>Of course, you travel via hyperspace, but distance is not abolished. This hyperspace works just as normal space, without shortcuts. It always takes longer to stop at an intermediate hub than to travel directly to your destination &mdash; this is known as the triangle inequality, a characteristic of metric spaces.</p> <p>Your galactic atlas holds the 3-dimensional coordinates x, y, z of any star, so you may easily compute the Euclidean distance between any pair of stars A and B:</p> <p><a href="https://alain-marchand7.medium.com/the-outsider-algorithm-b6c90fc0675b"><strong>Learn More</strong></a></p>