Qm
BrainteasersJane StreetOptiver

Fifty red, fifty blue, two jars, one blind draw

You have 50 red marbles and 50 blue marbles and two empty jars. You may divide the marbles between the jars in any way you like, as long as every marble goes into a jar and neither jar is empty.

Afterwards a jar is chosen at random (each with probability 1/2), and then one marble is drawn at random from that jar.

How should you distribute the marbles to maximise the probability that the drawn marble is red, and what is that probability?

Show a hint

You want one jar to be a sure thing and the other to be as good as possible. What is the smallest sure thing?

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 card is bigger?Where to stand in the birthday lineDropping needles to estimate piThe country where every family wants a boyA fair decision from a biased coin
All questions →