Skip to main content
All Questions

Three sock drawers hold red and blue, blue and green, and green and red socks, and you do not know which is which. How many socks do you expect to pull out before you are sure?

Unlock detailed company stats for this questionUpgrade
You have three sock drawers: one holds red and blue socks, one blue and green, one green and red. You do not know which is which. Assuming each drawer holds a large and equal number of each of its two colours, what is the expected number of socks you must pull out to be sure which drawer is which?

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.