Programming Question

Question: Two boys walking in the woods decided to take a shortcut through a railroad tunnel. When they had walked two-thirds of the way through the tunnel, their worst fears were realized. A train was coming in the opposite direction, nearing the tnnel entrance. The boys panicked and each ran for a different end of the tuneel. Both boys ran at the same speed, 10 miles per hour. Each boy escaped from the tunnel just at the instant that the train would have squashed him into the rails. Assuming the train's speed was constant, and both boys were capable of instantaneous reation and acceleration, how fast was the train going?

From: Programming Interviews Exposed

Subject: Math and Logic Puzzles

Load Another Question


Select a Subject