RE: Why I Hate Job Interviews
Imagine you snap a straight stick randomly at two different points. What is the probability that you can make a triangle with the remaining pieces?
You cannot make a triangle if one of the pieces is longer that the sum of the two other pieces.
So, if both points are in the same half of the stick, you cannot make a triangle with the three pieces.
There are two halves in the stick.
Let's suppose that your first point is in the first half. You have 50% chances of this. then, you are able to make a triangle only if your next point is in the second half, again a 50% chance. That gives you 50% x 50% = 25%.
Same probability with the first point in the second half and the second in the first half. 25% again.
So, in total, 25% + 25% = 50%.
You have a probability of 50% of being able to make a triangle with the remaining pieces.