Three ants on a triangle

product-puzzle case · difficulty 2/5 · 15 minutes · other

Prompt

Three ants sit on the three corners of a triangle. Each ant picks one of the two edges at its corner at random and walks along it. What is the probability that no two ants collide?

Context

A classic interview puzzle. Core idea: Each ant has 2 choices (L/R). Total 2^3=8. No collision if all go L or all go R (2 ways). Talk through your reasoning; the interviewer cares as much about structure as about the answer.

Clarifying questions

Do they pick directions randomly?
Yes. They walk at the same speed, choose independently and equally likely, and a collision is any meeting of two ants.

Recommendation

**Answer:** 1/4 (25%) **Why:** Any mix of directions puts two neighbours on a collision course, so only the two uniform outcomes out of eight are safe.

Risks

Next steps