Analytical Interview Questions
Home C/C++ JAVA Google Microsoft Data structures Puzzles Google
Resume Tips



 One train leaves Los Angeles at 15 MPH heading for New York . Another train leaves from New York at 20mph heading for Los Angeles on the same track. If a bird, flying at 25mph, leaves from Los Angeles at the same time as the train and flies back and forth between the two trains until they collide, how far will the bird have traveled?  



The distance traveled by the bird can be calculated as:

1. Let's say the distance between LA and NY is d miles.

2. The time before which the trains will collide: d / (15+20) hours.

3. The distance traveled by the bird in that time: (d / 35) * 25 = 5*d/7 miles.

Assumptions made: The bird must follow the line of the track, remain at the same altitude, and the speed must be relative to the ground and not air speed.


Recommended Materials