Skip to content

Inflate Rate

Get access to track progress Get access to bookmark
Asset Pricingx / 34
Behavioral Questionsx / 7
Brain Teasersx / 78
Derivatives Theoryx / 107
Digital Assets - Cryptox / 82
Energy Tradingx / 55
Linear Algebrax / 24
Machine Learningx / 62
Math Questionsx / 49
Probability and Statisticsx / 219
Programmingx / 54
Totalx / 771
Ginni needs 120 minutes to inflate a massive bouncy castle by herself, while Sheryl would puff away for 150 minutes on her own. They both start inflating a castle together. After 45 minutes of teamwork, Elon jumps in and starts to help inflate as well. With the three of them going at it, the bouncy castle is fully inflated 13 minutes after Elon started helping.

How many minutes would it take Elon to inflate a castle on his own?
  • Ginni takes 120 minutes to inflate the castle, so \begin{equation} R_G =  \frac{1}{120}  \end{equation}
  • Sheryl takes 150 minutes to inflate the castle, so \begin{equation} R_S = \frac{1}{150}  \end{equation}
The castle is also inflated if Ginni and Sheryl work together for 45 minutes, and if Elon helps the last 13 minutes, making it a total of 58 minutes. How long would we expect Ginni and Sheryl to take if they had done it together?
  • If you sum up Ginni's and Sheryl's inflation rates, you get \begin{equation} R_{G + S} = \frac{1}{120} + \frac{1}{150} = \frac{3}{200} \end{equation}
  • In other words, we would expect it to take 66.67 minutes to be fully inflated if only Ginni and Sheryl had worked together.
After 45 minutes, the percentage of the castle that Ginni and Sheryl already inflated is equal to: \begin{equation} 45 * \frac{3}{200} = \frac{27}{40} \end{equation} Let's denote Elon's rate as: \begin{equation} R_E = \frac{1}{x} \end{equation} The combined rate for the last 13 minutes is equal to: \begin{equation} R_{G + S + E} = \frac{1}{120} + \frac{1}{150} + \frac{1}{x} \end{equation} Since they completed the remaining $\frac{13}{40}$ of the castle in 13 minutes, their combined rate is equal to: \begin{equation} R_{G + S + E} = \frac{\frac{13}{40}}{13} = \frac{13}{520} \end{equation} Now we have that \begin{equation} R_{G + S + E} = \frac{1}{120} + \frac{1}{150} + \frac{1}{x} = \frac{13}{520} \end{equation} \begin{equation} \frac{1}{x} = \frac{13}{520} - \frac{3}{200} = \frac{1}{100} \end{equation} So, it would take Elon 100 minutes to inflate the castle by his own.
Correct Answer: 100
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
Biking With Wind Math QuestionsGeneralEasy
Birthday Candles Math QuestionsGeneralEasy
Boats on a River Math QuestionsGeneralHard
Chessboard Crossing Math QuestionsGeneralEasy
Choosing Blocks Math QuestionsGeneralEasy
Cookie Sorting Math QuestionsGeneralEasy
Counting Steps Math QuestionsGeneralEasy
Escalator Steps Math QuestionsGeneralMedium
Example
Filling a Bathtub Math QuestionsGeneralEasy
Fly vs Ant Math QuestionsGeneralMedium
Games Played Math QuestionsGeneralEasy
Going to the Beach #1 Math QuestionsGeneralMedium
How Many Dogs Math QuestionsGeneralMedium
How Many Participants Math QuestionsGeneralEasy
How Many Spiders Math QuestionsGeneralEasy
How Many Tennis Matches Math QuestionsGeneralEasy
Interview Permutations Math QuestionsGeneralEasy
Jumping Frog Math QuestionsGeneralMedium
Magic 37 Math QuestionsGeneralHard
Maximum Intersections Math QuestionsGeneralMedium
Number of Pigs Math QuestionsGeneralEasy
Example
Odd Numbers Math QuestionsGeneralMedium
Painting Walls Math QuestionsGeneralEasy
Patch of Lily Pads Math QuestionsGeneralEasy
Radius of a Circle Math QuestionsGeneralHard
Rectangles On Chessboard Math QuestionsGeneralEasy
River Length #1 Math QuestionsGeneralMedium
River Length #2 Math QuestionsGeneralMedium
Sequences Math QuestionsGeneralEasy
Set of Distinct Integers Math QuestionsGeneralEasy
Sharing a Glass Math QuestionsGeneralEasy
Sheep Runs Home Math QuestionsGeneralHard
Smaller Cubes Math QuestionsGeneralMedium
Spread Set Math QuestionsGeneralHard
Squares On Chessboard Math QuestionsGeneralMedium
Summing 11 to 20 Math QuestionsGeneralEasy
Tic Tac Toe Math QuestionsGeneralEasy
Triangle on Circle Math QuestionsGeneralMedium
Unfolded Box Math QuestionsGeneralHard
Upstream or Downstream Math QuestionsGeneralMedium

Please log in to see the discussion.