Sort:  

Wait a minute, I think the response depends on what your definition of a triangle is. A triangle is three connected lines. Unless the interviewer slides a stick and a bottle of Elmer's glue across the table then you are just dealing with three sticks pushed together and that, my friends, is not a triangle. Do I have any of my fellow brothers in Mensa here that can give me an Ahmen?

Damn! I am wrong! And a guy with the name of a defeat pointed my mistake! (I am French)

So, what I have just established is that the probability is less than 50%.

L = length of the stick.
If the first point is in the first half, at x between 0 L and 0.5 L, to be able to have a triangle, the second point need to be between 0.5 L and (0.5 + x) L.
I have the feeling that we need to integrate a function, but I an too old and tired for that.

Unless the job is somehow related to snapping sticks or figuring out arcane algorithms, it doesn't fucking matter.

Unfortunately, as a software developer, I sometimes have to figure out arcane algorithms…

took me a long time to get it
it's not an easy question
i can't remember the reasoning, but i remember the answer
you don't need calculus for it, but I'm sure if it's strong enough it can help
you can just reasoning it out in your mind, but it's not easy
i don't want to attempt it again

haha yes it is :)
took me a long time thinking it over to get it right

You can still make a triangle...it's just one side would have a longer/running edge beyond the outer limit of the triangle. Granted, it would be a small triangle, but as long as they don't expect each piece to connect exactly at the ends, I think it still qualifies. :-)

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.028
BTC 55789.30
ETH 2345.53
USDT 1.00
SBD 2.31