agha79 wrote:
As the hiker continues to walk while cyclist has crossed her make us deduct the time took by the cyclist to reach at the stopping point. 25-5=20. Is it the rationale behind the actual answer or I made some mistake in calculations?
yes, that's the rationale.
i.e., you weren't reading the problem carefully enough at first -- the problem statement very clearly asks how long
the cyclist must wait; the cyclist doesn't start “waiting” until he/she has stopped.