Met this in an interview. Basically this is a different version of the old familiar rope connecting problem. In that problem, we are asked what's the expected number of loops after connecting n ropes in random.
This problem ask for probability of getting a single rope without any loops at the end. Detailed problem set up is as: You have N 1 inch long ropes, and you could connect two nodes together N-1 times. What is the probability for you to finally get a whole N-inch long rope without any loop?
Is this just 1 - P(has any loop in N ropes) = $$ 1 - \frac{N}{{2N \choose 2}} $$ ?
Thanks