Find the heaviest of eight with a balance
You have eight coins, all of different weights, and a two-pan balance. You may only compare one coin against one coin at a time; the balance tells you which of the two is heavier.
What is the minimum number of comparisons that guarantees you identify the heaviest coin? Prove that no cleverer scheme can do better.
Show a hint
Think of each comparison as a match in a tournament: one coin "loses". How many coins must lose at least once before you can be sure who the champion is?
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
- 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.
Related questions
The heaviest and the runner-up among eight coinsBoth the lightest and the heaviest of ten coinsNine coins, three of them heavyThree coins, one fake, is one weighing ever enough?Why the coin puzzle stops at twelve
All questions →