Skip to main content
All Questions

A purple flower opens at a random time in the next 60 days and blooms for 10 days; a red one opens independently and blooms for 20. What is the probability their blooms overlap?

Unlock detailed company stats for this questionUpgrade
A purple flower will open at a uniformly random time in the next 60 days and stay in bloom for 10 days. Independently, a red flower will open at a uniformly random time in the next 60 days and stay in bloom for 20 days. What is the probability that the two are in bloom at the same time at some point? Candidates report this question with different numbers from one sitting to the next.

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.