Qm

Three routes to work with different travel times

Each morning you pick one of three routes to work. You take the highway with probability 0.50.5 (average time 2020 minutes), the back roads with probability 0.30.3 (average 3030 minutes), or the scenic route with probability 0.20.2 (average 4545 minutes).

How long should you expect your commute to take?

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Which wheel you spin sets your payoutGrab an apple or a banana from the basketWhich salesperson takes the call sets the saleClaims in a quiet or busy month, each with a costPick a coin from a mixed bag, then flip ten times
All questions →