News for hackers. Stuff that matters.
Re:End of the Line? Saudi Arabia to scale back plans for des... by FabHK on Thursday April 11, 2024 @10:26AM (#40002535)
That's actually a neat interview question.

a) So you have people living uniformly distributed on a line of length 1. When you pick 2 at random, what's the average distance from one to the other?

b) How about if they live on a circle of circumference 1 (and you can only travel along the circumference)?

c) How about if they live on a disk of circumference 1 (and you can travel straight across the disk)?

There are no comments on this comment yet.