How long will you keep the traffic light green in order to allow 100 cars to pass through? (Assume a single lane road)
You'll get access to over 3,000 product manager interview questions and answers
Recommended by over 100k members
- Single lane road
- Speed limit on road - 20 m/hr
- Avg length of car 3 m
- Distance between cars - 3 m (1 car lengths) (assme all cars are standstill when the lights turn to green)
- Other things like - good visibility; no acc and all that
- Total distance to be covered for first car = length of first car + space between cars = 3+ 3 = 6 m
- Total distance to be covered for 100 cars = (Total distance to be covered for a car) * 100 - (space behind 100th car) = 6m * 100 - 3m = 597 m ~= 600m = 0.6 km = 0.36 miles
- Time = Distance / Speed = 0.36 / 20 hours = 0.018 hours = 60 * 0.018 mins = 1.08 mins
Clarification Questions
Assumptions
The equations: Time until the last driver starts to drive + time it takes the last driver to pass the traffic light
Length of a car 4m, cars take 1m distance between each other -> 5 X 100 – 1 = 499m ~500m
It takes a car about 15 sec to reach max speed; during that time, I assume it passes ~150m
And for the other 350m it drives at the speed of 100km/h -> 10km in 6 min -> 1km in 36 sec ->~12 sec to pass the 350m.
In total, it will take the last vehicle 27 sec to pass the distance.
How long until the last vehicle starts?
As far as I remember, it takes ¾ sec for a person to react, +0.5 sec to start to move -> 1.25 sec to move so the driver behind will notice.
1.25 X 100 drivers -> 125 sec
The final result 125 sec + 27 sec = 152 sec -> 2.5 min.
Top Revolut interview questions
- How would you improve the funnel for new users at Revolut?1 answers | 1.4k views
- You are part of the Internal Auditing team in a company. How would you set the KPIs to measure compliance and risk appetite?1 answers | 1.3k views
- How would you improve the Revolut referral program?0 answers | 269 views
- See Revolut PM Interview Questions
Top Estimation interview questions
- Calculate the number of queries answered by Google per second.45 answers | 78.5k views
- How do you decide how many cash registers you need for a new Walmart store?33 answers | 39.4k views
- How many dentists are there in New York?33 answers | 36.7k views
- See Estimation PM Interview Questions
Top Revolut interview questions
- How would you improve the onboarding flow (sign up -> outbound transaction) of Revolut by 15% in the next 3-4 months?0 answers | 922 views
- See Revolut PM Interview Questions
Top Estimation interview questions
- Estimate the number of Uber rides.30 answers | 51.3k views
- Estimate the number of bicycles required to start a bike sharing operation in a big city.18 answers | 15.8k views
- Estimate the number of WhatsApp chats occuring in India.14 answers | 13.3k views
- See Estimation PM Interview Questions