PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Statistics & Math/Coinbase

Solve the 12-coin balance puzzle

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of combinatorial reasoning, information theory, and decision-tree construction for identifying a single counterfeit coin and whether it is heavier or lighter using constrained balance-scale observations.

  • hard
  • Coinbase
  • Statistics & Math
  • Data Scientist

Solve the 12-coin balance puzzle

Company: Coinbase

Role: Data Scientist

Category: Statistics & Math

Difficulty: hard

Interview Round: Technical Screen

Using a balance scale with no weights and exactly three weighings, you have 12 visually identical coins, one of which is counterfeit and either heavier or lighter (unknown). Provide a weighing strategy that always identifies the counterfeit coin and whether it is heavier or lighter. Present the full decision tree: for each weighing, which coins go on each pan and how the next step depends on outcomes (left heavy, right heavy, or balance). Prove correctness and minimality of three weighings.

Quick Answer: This question evaluates understanding of combinatorial reasoning, information theory, and decision-tree construction for identifying a single counterfeit coin and whether it is heavier or lighter using constrained balance-scale observations.

Related Interview Questions

  • Calculate a Confidence Interval - Coinbase (medium)
  • Calculate Conversion Lift CI - Coinbase (medium)
  • Optimize no-penalty test strategy - Coinbase (Medium)
  • Compute wallet-link probabilities and conditionals - Coinbase (medium)
  • Compute wallet-link probabilities and expectation - Coinbase (medium)
Coinbase logo
Coinbase
Oct 13, 2025, 9:49 PM
Data Scientist
Technical Screen
Statistics & Math
11
0

12-Coin Counterfeit Problem (3 Weighings)

Setup

  • You have 12 visually identical coins.
  • Exactly one coin is counterfeit; it is either heavier or lighter (unknown which).
  • You have a balance scale and no additional reference weights.

Task

Design a weighing strategy that uses exactly three weighings and always identifies:

  1. which specific coin is counterfeit, and
  2. whether it is heavier or lighter.

Provide the complete decision tree: for each weighing, specify which coins go on each pan, and for each possible outcome (left pan heavy, right pan heavy, or balance), indicate the next step and final identification where applicable.

Finally, prove the correctness of your strategy and that three weighings are minimal (i.e., two weighings cannot always suffice).

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Coinbase•More Data Scientist•Coinbase Data Scientist•Coinbase Statistics & Math•Data Scientist Statistics & Math
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.