Skip to content

Escalator Steps

Get access to track progress Get access to bookmark
Asset Pricingx / 34
Behavioral Questionsx / 7
Brain Teasersx / 94
Derivatives Theoryx / 107
Digital Assets - Cryptox / 82
Energy Tradingx / 55
Linear Algebrax / 24
Machine Learningx / 62
Math Questionsx / 113
Probability and Statisticsx / 375
Programmingx / 54
Totalx / 1007
There are two escalators, one moving up and the other moving down at the same constant speed. Two individuals start at the top of each escalator, both walking down at a pace of 1 step per second.
  • The person walking down the downward-moving escalator reaches the bottom after taking 20 steps.
  • The person walking down the upward-moving escalator takes 60 seconds to reach the bottom.
How many steps would each escalator have if they were stationary (i.e., paused)?
Let's define the following:
  • T = Total number of steps on an escalator
  • S = Speed of the escalator in steps per second
Next, we can work this problem out using the following equations: \begin{equation} 20 = \frac{T}{S+1} \end{equation} The +1 in this equation accounts for the extra 1 step per second that the person is walking down. The second equation is: \begin{equation} 60 = \frac{T}{-S+1} \end{equation} Here, the S is negative, because the escalator is moving up instead of down. These two equations result in the following: \begin{equation} T = 20S + 20 \end{equation} \begin{equation} T = -60S + 60 \end{equation} Subtracting these two equations from each other results in \begin{equation} 0 = 80S - 40 \end{equation} \begin{equation} S = 0.5 \end{equation} If we substitute S in the first equation, we get that \begin{equation} 20 = \frac{T}{0.5+1} \end{equation} \begin{equation} T = 20*1.5 = 30 \end{equation} So, the escalator has 30 steps.
Correct Answer: 30
Python scratchpad
# Run Python right here in your browser
def two_sum(nums, target):
    seen = {}
    for i, n in enumerate(nums):
        if target - n in seen:
            return [seen[target - n], i]
        seen[n] = i
    return []

print(two_sum([2, 7, 11, 15], 9))  # [0, 1]
Run Python in your browser

Write and execute code — numpy, pandas & scikit-learn included — right on the question page.

Log in to start coding
Title Category Subcategory Difficulty Status
Analog Clock Angle Math QuestionsGeneralEasy
Unlock with a membership
Area Between a Line and a Parabola Math QuestionsGeneralEasy
Unlock with a membership
Area of a Regular Hexagon Math QuestionsGeneralEasy
Unlock with a membership
Area of an Ellipse Math QuestionsGeneralEasy
Unlock with a membership
Area Under sin Squared Math QuestionsGeneralEasy
Unlock with a membership
Average Height of a Sine Arch Math QuestionsGeneralEasy
Unlock with a membership
Ball Inside a Cube Math QuestionsGeneralEasy
Unlock with a membership
Biking With Wind Math QuestionsGeneralEasy
Unlock with a membership
Birthday Candles Math QuestionsGeneralEasy
Unlock with a membership
Boats on a River Math QuestionsGeneralHard
Unlock with a membership
Chessboard Crossing Math QuestionsGeneralEasy
Unlock with a membership
Choosing Blocks Math QuestionsGeneralEasy
Unlock with a membership
Circle Outside Its Inscribed Square Math QuestionsGeneralEasy
Unlock with a membership
Climbing 10 Stairs Math QuestionsGeneralEasy
Unlock with a membership
Cold Storage Math QuestionsGeneralEasy
Unlock with a membership
Cookie Sorting Math QuestionsGeneralEasy
Unlock with a membership
Counting Steps Math QuestionsGeneralEasy
Unlock with a membership
Diagonal of a Box Math QuestionsGeneralEasy
Unlock with a membership
Diagonals of a 20-Sided Polygon Math QuestionsGeneralEasy
Unlock with a membership
Factors of 2 in 100 Factorial Math QuestionsGeneralEasy
Unlock with a membership
Filling a Bathtub Math QuestionsGeneralEasy
Unlock with a membership
Fly vs Ant Math QuestionsGeneralMedium
Unlock with a membership
Games Played Math QuestionsGeneralEasy
Unlock with a membership
Going to the Beach #1 Math QuestionsGeneralMedium
Unlock with a membership
How Many Dogs Math QuestionsGeneralMedium
Unlock with a membership
How Many Participants Math QuestionsGeneralEasy
Unlock with a membership
How Many Spiders Math QuestionsGeneralEasy
Unlock with a membership
How Many Tennis Matches Math QuestionsGeneralEasy
Unlock with a membership
How Often You Write the Digit 1 Math QuestionsGeneralEasy
Unlock with a membership
Inflate Rate Math QuestionsGeneralHard
Example
Integral of ln x Math QuestionsGeneralMedium
Unlock with a membership
Interview Permutations Math QuestionsGeneralEasy
Unlock with a membership
Jumping Frog Math QuestionsGeneralMedium
Unlock with a membership
Last Digit of 7 to the 2026th Math QuestionsGeneralEasy
Unlock with a membership
Last Two Digits of a Power of 3 Math QuestionsGeneralMedium
Unlock with a membership
Length of a Chord Math QuestionsGeneralEasy
Unlock with a membership
Length of a Hanging Chain Math QuestionsGeneralMedium
Unlock with a membership
Length of the Curve y = x^(3/2) Math QuestionsGeneralMedium
Unlock with a membership
Log Base 2 of 100 Factorial Math QuestionsGeneralHard
Unlock with a membership
Magic 37 Math QuestionsGeneralHard
Unlock with a membership
Maximum Intersections Math QuestionsGeneralMedium
Unlock with a membership
Multiples of 3 or 5 but Not Both Math QuestionsGeneralEasy
Unlock with a membership
Number of Digits of 7 to the 20th Math QuestionsGeneralMedium
Unlock with a membership
Number of Divisors of 720 Math QuestionsGeneralEasy
Unlock with a membership
Number of Pigs Math QuestionsGeneralEasy
Example
Numbers Coprime to 100 Math QuestionsGeneralEasy
Unlock with a membership
Numbers Without a 7 Math QuestionsGeneralEasy
Unlock with a membership
Odd Numbers Math QuestionsGeneralMedium
Unlock with a membership
Painting Walls Math QuestionsGeneralEasy
Unlock with a membership
Patch of Lily Pads Math QuestionsGeneralEasy
Unlock with a membership
Paths Across a Grid Math QuestionsGeneralEasy
Unlock with a membership
Primes Between 100 and 130 Math QuestionsGeneralMedium
Unlock with a membership
Product Around a Hundred Math QuestionsGeneralEasy
Unlock with a membership
Product of Three Primes Math QuestionsGeneralEasy
Unlock with a membership
Radius of a Circle Math QuestionsGeneralHard
Unlock with a membership
Rectangles On Chessboard Math QuestionsGeneralEasy
Unlock with a membership
Remainder of 2 to the 100th Divided by 7 Math QuestionsGeneralEasy
Unlock with a membership
River Length #1 Math QuestionsGeneralMedium
Unlock with a membership
River Length #2 Math QuestionsGeneralMedium
Unlock with a membership
Sequences Math QuestionsGeneralEasy
Unlock with a membership
Set of Distinct Integers Math QuestionsGeneralEasy
Unlock with a membership
Sharing a Glass Math QuestionsGeneralEasy
Unlock with a membership
Sheep Runs Home Math QuestionsGeneralHard
Unlock with a membership
Smaller Cubes Math QuestionsGeneralMedium
Unlock with a membership
Spread Set Math QuestionsGeneralHard
Unlock with a membership
Square of 9995 Math QuestionsGeneralEasy
Unlock with a membership
Squares On Chessboard Math QuestionsGeneralMedium
Unlock with a membership
Squares or Cubes up to 10,000 Math QuestionsGeneralMedium
Unlock with a membership
Subsets With an Even Sum Math QuestionsGeneralMedium
Unlock with a membership
Sum of All Digits up to 999 Math QuestionsGeneralMedium
Unlock with a membership
Sum of the Divisors of 100 Math QuestionsGeneralMedium
Unlock with a membership
Sum of Three Unit Fractions Math QuestionsGeneralMedium
Unlock with a membership
Summing 11 to 20 Math QuestionsGeneralEasy
Unlock with a membership
Tic Tac Toe Math QuestionsGeneralEasy
Unlock with a membership
Triangle on Circle Math QuestionsGeneralMedium
Unlock with a membership
Unfolded Box Math QuestionsGeneralHard
Unlock with a membership
Upstream or Downstream Math QuestionsGeneralMedium
Unlock with a membership
Volume of a Paraboloid Math QuestionsGeneralEasy
Unlock with a membership
Zeros at the End of 200 Factorial Math QuestionsGeneralEasy
Unlock with a membership

Please log in to see the discussion.