I had three containers each with two balls.
The one labelled WW contains two white balls, the one labelled BB contains
two black balls, and one labelled BW contains one black and one white ball.
Now the labels are scrambled so that the boxes are all
If you are allowed to remove one ball at a time from boxes of your choosing
without seeing what else is in the boxes, what is the minimum number of balls
that must be examined to determine what each container contains?
(puzzle due to Martin Gardner)