Skip to content

Commit

Permalink
Create quant.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagesh19 authored Jun 13, 2024
1 parent a4edd06 commit fa3a30c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions problem-of-the-day/day16/quant.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
500 ants are placed on a 1-foot string without any order. Assume independent uniform distribution for each ant.
Each ant will move randomly towards either end of the string at a constant speed of 1 foot per minute.
The ants will keep moving until they reach the end of the string, and if two ants collide head-on, they will both immediately turn around and continue moving.
Assuming that the size of the ants is infinitely small, what is the expected time for all 500 ants to fall off the string?

0 comments on commit fa3a30c

Please sign in to comment.