How long is the train?
A train travelling at constant speed passes a signal post (a point) in 10 seconds, measured from when the front reaches the post to when the rear clears it. The same train passes completely through a 300 metre platform in 25 seconds, from the front entering to the rear leaving.
How long is the train, and how fast is it going?
Show a hint
Passing a point means the train travels its own length. Passing a platform means the train travels its own length plus the platform's length.
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
How often do the buses run?When is one candle twice the height of the other?How many steps on the escalator?When were the two candles the same height?999 times 999 in your head
All questions →