Skip to main content
All Questions

Two cars sit in spaces 1 and 2 of a four-space row. Each minute a car with an empty space ahead moves forward with probability 1/2. How many minutes do you expect until they occupy spaces 3 and 4?

Unlock detailed company stats for this questionUpgrade
Two cars are parked in spaces 1 and 2 of a four-space row; spaces 3 and 4 are empty. Each minute, a car may move forward one space only if the space ahead was empty at the start of that minute and it is not already in space 4; each eligible car moves with probability 1/2. What is the expected number of minutes until the cars occupy spaces 3 and 4?

Community answers

No answers contributed by the community yet.

Related courses

Course

SQL Interview Prep Course

Prepare for SQL interviews with lessons on joins, aggregations, and window functions, then practice real SQL interview questions in an interactive editor with expert solutions.

Course

Data Science Interview Prep

Land your dream data science role at Google, Amazon, Microsoft, Meta, Apple, and other top companies. Learn from mock interviews, frameworks, and advice from senior candidates. Practice statistics, experimentation, coding, SQL, machine learning, behavioral interviews, and more.