Loading…
Loading…
Charting your lesson…
Opening your lesson…
Classic Logic Puzzles (Weighing, Crossing, Hats)
Lesson 1 of 3
6 steps•about 11 min•10 flashcards
Step 1/ 61 min
Product and consulting interviews love classic logic puzzles — weighing coins on a balance, getting people across a bridge, prisoners guessing hat colours. They rarely test knowledge; they test how you reason out loud under uncertainty. The good news: the famous puzzles recur, and each family has a repeatable technique. Learn the techniques and the specific puzzles, and you'll handle most of what's thrown at you.
What this covers / why it matters: the recurring puzzle families (weighing, river-crossing, hats) with their core techniques and fully worked classics. It's about method and composure as much as the answer.
Step 2/ 61 min
Whatever the puzzle, follow the same steps out loud:
On a balance scale, each weighing has three outcomes (left heavier, right heavier, balanced), so n weighings distinguish up to 3^n cases. To find one odd item, divide the group into three roughly equal parts and compare two of them — this is the ternary-search idea and it's the key to almost every weighing puzzle.
Step 3/ 61 min
Weighing — "9 coins, one is heavier, find it in 2 weighings on a balance."
"Split 9 into three groups of 3. Weighing 1: put group A (3 coins) vs group B (3 coins). If they balance, the heavy coin is in group C; if A is heavier, it's in A; if B is heavier, it's in B. Either way I've narrowed it to 3 coins in one weighing. Weighing 2: take those 3 coins, weigh one vs one. If they balance, it's the third coin; otherwise it's the heavier side. Found in 2 weighings. The idea generalises: with the 3-outcome balance, 2 weighings cover up to 3^2 = 9 coins."
Bridge crossing — "4 people, one torch, cross a bridge in the dark; only 2 can cross at a time and they move at the slower person's pace. Times: 1, 2, 5, 10 minutes. Minimum total?"
"The key insight is to not let the two slowest (5 and 10) cross separately — send them together, and use the fastest (1) as the torch ferry. Optimal: 1 and 2 cross (2 min), 1 returns (1), 5 and 10 cross together (10), 2 returns (2), 1 and 2 cross (2). Total = 2 + 1 + 10 + 2 + 2 = 17 minutes. Crossing the 10 and 5 together is what beats the naive 'fast person shuttles everyone' answer of 19."
Step 4/ 61 min
Step 5/ 61 min
For the bridge puzzle, defaulting to "the fastest person escorts everyone across one by one" (giving 19 minutes) and stopping there. That misses the key trick: sending the two slowest together (17 minutes). Always check whether pairing the costliest elements beats shuttling them individually.
Step 6/ 6· Worked examples1 min
Problem/Question: You have 8 identical-looking balls; one is slightly heavier. Using a balance scale only twice, find the heavy ball.
Solution/Model answer: The trick is to divide into three groups, since each weighing has three outcomes (left heavier, right heavier, balanced).
Weighing 1: Split into groups of 3, 3, and 2. Put the two groups of 3 on the scale.
Recall
Keep this
Product and consulting interviews use classic logic puzzles to test structured reasoning under pressure. You're not expected to have memorised the answer — you're expected to reason aloud, test cases, and converge logically. Knowing the famous templates gives you a huge head start.
| Puzzle | Key insight |
|---|---|
| 8 balls, 1 heavier, a balance | Split into 3 groups → 2 weighings (log₃, not halving) |
| Bridge crossing (torch, times) | Send the two slowest together; fastest ferries the torch |
| Prisoners & hats | Back person counts parity (odd/even) of a colour |
| Poison bottles / 1000 bottles | Binary-encode bottles across testers (10 testers → 1024) |
Expected pattern: Common in product/consulting/quant interviews; usually one puzzle you must reason through aloud.
Quick recap: Weighing → three groups (log₃); identification → binary/bits (2ⁿ); hats → parity. Reason aloud, test cases, state strategy first.
You've read 0 of 6 steps
Now lock it in — questions straight after reading are what make it stick.