PuzzlersWorld.com

  • Interview Questions
  • Interview Puzzles
  • Number Puzzles
  • Maths Puzzles

Ants on a triangle

(No Ratings Yet)

November 30, 2007 by Ankur 4 Comments

There are three ants on a triangle, one at each corner. At a given moment in time, they all set off for a different corner at random. What is the probability that they don’t collide ?

See Solution : Ants on a triangleHide Solution

Solution 1:
Let the three ants are a, b, c.

There are two cases when they will not collide, the one is when they all move clockwise and the other is when they all move anticlockwise.
They will collide if any two ants move towards each other, at the same time the third ant can move in clockwise or in anticlockwise. so for each pair there are 2 such cases. And there are 3 pairs possible (a,b), (b,c) and (c,a). So total 3*2 = 6 cases when they will collide.

So probability that they will not collide is 2/(2+6) i.e. 1/4

Solution 2 :

Consider the triangle ABC. We assume that the ants move towards different corners along the edges of the triangle.

Total no. of movements: 8

A->B, B->C, C->A; A->B, B->A, C->A; A->B, B->A, C->B; A->B, B->C, C->B; A->C, B->C, C->A; A->C, B->A, C->A; A->C, B->A, C->B; A->C, B->C, C->B

Non-colliding movements: 2

A->B, B->C, C->A; A->C, B->A, C->B

(i.e. the all ants move either in the clockwise or anti-clockwise direction at the same time)

So probability of not colliding = 2/8 = 1/4

  • Share on Whatsapp
  • Share on Facebook
  • Share on Twitter

Like us on Facebook

  • WhatsApp
  • Tweet
  • Email

Filed Under: Interview Puzzles Tagged With: Difficult, Interview

Advertisements
Submit your Puzzle

You may also like

  • 100 doors
  • Jelly beans
  • GPS and Battery Puzzle
  • Heavier ball
  • Four glasses on a square table
  • Zeroes in 100 factorial
  • How many people in party?
  • Divide a triangle into n triangles
  • King and wine bottles
  • Balls in a bag

Get New Puzzles in your mailbox

Enter your email address and hit subscribe button.

Categories

  • Aive hi Puzzles
  • Akbar and Birbal
  • Alphabetical Puzzles
  • Bollywood Puzzles
  • Google Code jam
  • Hindi Riddles
  • Interview Puzzles
  • Interview Questions
  • Jain Puzzles
  • Logical Puzzles
  • Malayalam Puzzles
  • Maths Puzzles
  • Miscellaneous
  • Number Puzzles
  • Picture Puzzles
  • Riddles
  • Technical

Social

  • View puzzlersworld’s profile on Twitter

Copyright © 2019 · Genius Fools on Genesis Framework · WordPress · Log in

  • Hacker Puzzle
  • WhatsApp Puzzles
  • Picture Puzzles
  • Riddles
    ▼
    • Hindi Riddles
  • Bollywood Puzzles
  • Alphabetical Puzzles
  • Aive hi Puzzles
  • Interview Puzzles
  • Logical Puzzles
  • Interview Questions
    ▼
    • Data Structures
    • Binary Tree
    • Algorithms
    • Recursion Questions
    • Amazon Interview Questions
    • Snapdeal Interview Questions
    • Google Code jam
  • Technical
  • Akbar and Birbal
  • Number Puzzles
  • Maths Puzzles
  • Miscellaneous
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.