# infy puzzle

recently while in london ,i decided 2 walk down the escalator of a tube station.i did some quick calculations in my mind.i found that if i walk down 26 steps,i require 30 seconds to reach the bottom.however,if i am able to step down 34 stairs i would only require 18 seconds to get down to the bottom.
if the time is measured from the moment the top step begins to descend to the time i step off the last step at bottom,tell the height of stairway in steps.
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Commented:
46
0
Author Commented:
explanation ozo even i know the answer from the back of the book but cant understand it.
0
Commented:
stepping down 8 more steps saves 12 seconds
stepping down 20 more steps would save 30 seconds.
stepping down 26+20=46 steps would get down in 0 seconds.
0

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Commented:
but if its an escalator, you fail to incorporate the motion of the escalator into your calculations.
0
Commented:
stepping down 8 more steps saves 12 seconds -> the escalator takes 12 seconds to move 8 steps
0
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Puzzles / Riddles

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.