Twelve sacks of grain and one that is short
A miller has twelve sacks of grain that should all weigh the same. One sack was filled slightly short, and the miller knows it is lighter but not which one. There is a large two-pan balance that can hold several sacks on each side.
What is the fewest number of weighings that guarantees the light sack is found? Describe the weighings.
Be careful: this is not the famous twelve-coin puzzle, because here you already know the odd sack is lighter.
Show a hint
Knowing the direction (lighter) changes everything. Count how many suspects each weighing can rule out at best.
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
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.