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
- Counting only one safe outcome (all clockwise) and answering 1/8
- Thinking of ants choosing a corner to run to instead of a direction
Next steps
- Generalise to n ants on a regular polygon
- Ask what changes if the ants walk at different speeds