Scrambled Box Tops
My Best Mathematical and Logic Puzzles
Solved October 5, 2026
Three boxes hold marbles: one contains two white marbles, one contains two black marbles, and one contains one white and one black. Their lids are labeled WW, BB, and WB accordingly — but every single label is wrong.
You may draw marbles out one at a time, without looking inside a box, and you want to determine the true contents of all three boxes. What is the fewest draws that guarantees you can correctly relabel every box, and how?
My solution
1 draw. Take 1 marble from the box labelled WB.
If white, the setup is:

If black, the setup is:

This is because the boxes must be labelled incorrectly. So the “WB” box must contain either WW or BB marbles. Then, picking 1 marble is enough to know it’s full contents.
Knowing the state of the “WB” box we are left the “WW” and “BB” boxes. Assume WLOG that the “WB” box contained the WW marbles. That leaves us with the BB and WB marbles to determine the locations of. The BB marbles cannot be in the “BB” box (as that would be “correctly labelled”), so they must be in the “WW” box. That leaves the WB marbles to be in the “BB” box.
The same logic applies for if the “WB” box contains the BB marbles.