⚡ Build the skills to land top-paying quant jobs. Offer ends in 26d 11h 51m 32s26 days 11 hours 51 minutes 32 seconds.
ants are placed on a -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 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 ants to fall off the string?