**3 bugs problem** was made famous by being frequently asked in **Microsoft** interviews. The problem goes like this.

There is an equilateral triangle and three bugs are sitting on the three corners of the triangle. Each of the bugs picks up a random direction and starts walking along the edge of the equilateral triangle.

**What is the probability that none of the bugs crash into each other?**

You can view the video for a visual explanation or read the answer here.

**Bonus Puzzle:**

Now imagine if instead of the equilateral triangle there is a square and 4 bugs are sitting on the 4 corners of the square. Each of the bugs picks up a random direction and starts walking along the edge of the square.

**What is the probability that none of the bugs crash into each other?**

Can your friends answer it? Share it to find that!